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

Clone this repo:
  1. 2cd55ab Add a clarifying comment about case folding. by Paul Wankadia · 21 hours ago master
  2. aecba11 Refuse to rewrite when MaxSubmatch() is too large. by Paul Wankadia · 11 days ago 2020-06-01
  3. 787495f Use CMAKE_CXX_STANDARD now that we can. by Paul Wankadia · 2 weeks ago
  4. 002b6d9 Make "front and back" prefix accel work with MSVC. by Paul Wankadia · 2 weeks ago
  5. 25238e4 Rename to Regexp::RequiredPrefixForAccel(). by Paul Wankadia · 2 weeks ago
  6. e167782 Add a basic test for prefix accel. by Paul Wankadia · 2 weeks ago
  7. 52b4b94 Implement "front and back" prefix accel. by Paul Wankadia · 3 weeks ago
  8. ce05707 Generalise from "first byte" to "prefix accel". by Paul Wankadia · 3 weeks ago
  9. b61d7b7 have_first_byte now implies run_forward. by Paul Wankadia · 3 weeks ago
  10. 26bc1af Tidy up the code around the memchr(3) calls. by Paul Wankadia · 3 weeks ago
  11. b9e7f27 Remove a pointer chase from Regexp::Walker<>. by Paul Wankadia · 3 weeks ago
  12. 8f09fa6 Tidy up the code for NFA threads a bit more. by Paul Wankadia · 3 weeks ago
  13. 92c1f0e Argh. I overlooked the constructor and destructor. by Paul Wankadia · 3 weeks ago
  14. 85ede83 Undo use of PODArray<> for NFA threads. by Paul Wankadia · 3 weeks ago
  15. cdab428 Use PODArray<> in a few more places. by Paul Wankadia · 3 weeks ago
  16. 9a3bd16 Separate build/install for libre2.a and libre2.so. by Paul Wankadia · 3 weeks ago
  17. 3c2deb6 Refine a preprocessor check for MSVC. by Paul Wankadia · 3 weeks ago
  18. 1956725 Compute first byte for forward Progs only. by Paul Wankadia · 3 weeks ago
  19. 2aef271 Don't dereference params->start unconditionally. by Paul Wankadia · 4 weeks ago
  20. 75220ad Compute first_byte using the Regexp, not the Prog. by Paul Wankadia · 4 weeks ago