Test, validate and match regular expressions
This PCRE regular expression captures the first sequence of characters at the beginning of a line up to the first whitespace character, storing it in a named group called `cRegexGroupsName`. By using a lazy quantifier (`.*?`), it ensures that the match stops exactly at the first space, tab, or newline. It is highly effective for extracting the first word from every line in a multiline string, such as parsing logs or processing lists. The `m` flag enables multiline matching, while `g` finds all occurrences across the text.