v5.1.0
Breaking Changes
XRegExp.matchRecursive
: When doing a global, non-sticky search and providingvalueNames
, return an empty array if no matches are found, rather than an array with one object containing abetween
value that contains the whole target string (this change is to match every other case when no matches are found, e.g. when not providingvalueNames
, not using global with flagg
, or doing a sticky search with flagy
): 6e1711e
Improvements