numMatches

Type: Integer

The read‑only numMatches property of the JadeRegexResult class contains the number of matches in your search.

The object matches are located by the JadeRegexMatch class index property in the order that the match was found within your search string; for example:

numMatches := regexPattern.findAll(" aBC abc ABCd ABCABC ABCABCABC ABC ZABCD ZABC 
                   AB AC BC aBc ABc ", regexResult /* out */);
assertEquals(13,numMatches);

2020.0.01 and higher