Test, validate and match regular expressions
Matches command-line arguments: either a double-quoted string (with escaped characters like \" or \\ inside) or a sequence of non-whitespace characters. Commonly used to parse shell-like input into individual tokens, preserving quoted phrases as single arguments. The global flag allows extracting all matches from a string.