re2

by google · Developer Tools

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

New0 ratings9,799 starsActive
Developer ToolsDeveloper ToolC++Python
↓ Download 2025-11-05GitHub⚑ Report
re2 — image 1

About this project

RE2, a regular expression library RE2 is an efficient, principled regular expression library that has been used in production at Google and many other places since 2006. Safety is RE2's primary goal. RE2 was designed and implemented with an explicit goal of being able to handle regular expressions from untrusted users without risk. One of its primary guarantees is that the match time is linear in the length of the input string. It was also written with production concerns in mind: the parser, the compiler and the execution engines limit their memory usage by working within a configurable budget—failing gracefully when exhausted—and they avoid stack overflow by eschewing recursion. It is…

Technologies

PythonC++StarlarkMakefileCMake

Project health

Low recent activity
Last update7 months ago
Contributors59
Latest release2025-11-05
Open issues & PRs64
LicenseBSD-3-Clause
On GitHubsince 2014

GitHub

9,799
stars
1,242
forks
59
contributors
64
open issues & PRs
C++
language
7 months ago
last commit
View on GitHub ↗All releases ↗

Reviews

out of 5 · 0 ratings
★★★★★
0%
★★★★
0%
★★★
0%
★★
0%
0%
Sign in to write a review
No reviews yet
Be the first to review re2.

Built by

google
Imported from GitHub · not yet claimed on GitPalace
View developer pageSign in with GitHub to claim

Maintain google/re2? Claiming verifies admin access through your GitHub account and gives you control of this listing.

You might also like