dummy-link

RE2

Julia wrapper for RE2 regular expression library (Regex2)

Readme

RE2

Build Status Coverage Status codecov.io

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

Installtion:

Requires the libraries libcre2 and libre2 installed in the standard library path.

Usage

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("")

First Commit

02/10/2018

Last Touched

about 3 years ago

Commits

12 commits

Requires:

Used By: