Skip to content

KlausC/RE2.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Julia wrapper for RE2 regular expression library (Regex2)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages