Gets all of the matches found when matching a regular expression against a string.This function is valid in v2.11.0 to v2.24.2. This function has been downloaded 37 times.
undefinedis the return value. The 1st argument passed will be an array representing the matches array that was found. The 2nd argument passed will be the amount of times this mapper has been called.
rgxmatched a substring in
strat least once and
opt_fnMapperwasn't used, an array of all of the matches will be returned. Each match will at least have
match.index(the starting index of the found match within
str). If capture groups were specified in
rgx, each will be found in its corresponding index starting with
match. If no matches were found,
This function directly requires the following function which is included automatically:
This function is directly required by the following functions: