Test, validate and match regular expressions
Matches any line that begins with the letter C or M, using multiline mode to check each line's start. This pattern is useful for filtering text lists, such as extracting city names starting with 'C' or 'M' from a dataset. It works with PCRE2 and the global flag to find all matching lines.