R12.3 Project Publication -20250115

Return Value of Match Pattern

The following return values are provided for you to perform subsequent actions.


  • $Rule1.Result: The value that is returned after comparing, and it is string type. It can be True or False.
  • $Pattern1.Matched_lines: The lines in the left (current) that match the right (pattern) lines.
  • $Pattern1.Unmatched_lines: The lines in the left (current) that do not match the right (pattern) lines.
  • $Pattern1.Unused_pattern_lines: The lines in right (pattern) that no left (current) lines can match.
  • $Pattern1.Matched_line_counter: The number of the matched lines.
  • $Pattern1.Unmatched_lines_counter: The number of the unmatched lines.
  • $Pattern1.Unused_pattern_lines_counter: The number of the unused lines.