compiler-explorer icon indicating copy to clipboard operation
compiler-explorer copied to clipboard

[LIB REQUEST] RE2 regex library

Open suertreus opened this issue 4 years ago • 2 comments

Library name:

RE2

Library description:

RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python.

Library repository:

https://github.com/google/re2

Library homepage:

None but https://github.com/google/re2

Motivation:

Nothing special, but it would be useful to me and to people I work with..

Smoke test:

re2::RE2::FullMatch("hello", "h...o");

suertreus avatar Jul 26 '21 23:07 suertreus

Hi! Thanks for taking the time to request the library. Libraries that are not header-only take us a bit to add to the site, so this might take a while until it pops up in the live site, sorry!

AbrilRBS avatar Jul 27 '21 09:07 AbrilRBS

I'd like this lib too. I'm willing to add it, I just have a concern: it depends on abseil (which is already one of the libs), but I'm not sure how to tell it where to find it.

jmarrec avatar Apr 22 '25 19:04 jmarrec

This is now live

partouf avatar Aug 11 '25 20:08 partouf