Test, validate and match regular expressions
Matches strings starting with two numbers separated by a colon and followed by a comma, tolerating optional whitespace around each element. It captures both numbers separately, making it useful for parsing line:column references (e.g., compiler/editor output), coordinates, or structured index pairs. With the global flag, it extracts all such patterns across input text for organizing or processing data.