Wrapper to the RE2 regular expression implementation.
Special feature (compared to PCRE), the "l" compilation flag for "longest match".
See RE2. Using the C-interface CRE2
Requires the libraries libcre2 and libre2 installed in the standard library path.
julia> using RE2
julia> re = rr"x*|y*"l
rr"x*|y*"l
julia> match(re, "yyayyx")
Regex2Match("yy")
julia> match(r"x*|y*", "yyayyx")
RegexMatch("")