after the first match was found or an empty one if not present.
matchAll
Initiate a search for all non-overlapping matches to the pattern re in the given input. The result is a lazy range of matches generated as they are encountered in the input going left to right.
This function picks the most suitable regular expression engine depending on the pattern properties.
re parameter can be one of three types:
- Plain string(s), in which case it's compiled to bytecode before matching.
- Regex!char (wchar/dchar) that contains a pattern in the form of
compiled bytecode.
- StaticRegex!char (wchar/dchar) that contains a pattern in the form of
compiled native machine code.
Returns
RegexMatch object that represents matcher state