count_matches

count_matches(pattern, a_text)

Returns the number of matches of the regular expression in the text.

Parameters
Result

integer