re_match_all [function]
re_match_all( string str, string pattern, int flags = 0, int offset = 0 )
check for matches in string str
for pattern
, returning the number of matches or details of all matches, as specified in flags
- similar to re_match, only difference is in the return value:
- if
flags
is one of the special values, function returns an array of matches where each match is an array of captured ranges