A first-match diagnostic is not an all-match extractor
A test result is more useful when it keeps the pattern, flags, match boundary, numbered captures, and named captures together. This route performs one RegExp execution and reports those facts without implying that later matches do not exist.
The result distinguishes no match from an empty match and reports UTF-16 string indexes, which are the indexes JavaScript RegExp returns. Use the extractor when the job is to enumerate repeated matches.