aboutsummaryrefslogtreecommitdiffstats
path: root/devel/re2/pkg-descr
blob: 478cebc0cb60f003a2edd991a35429802d4af7a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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.
RE2 uses automata theory  to guarantee that regular expression searches run in
time linear in the size of the input. RE2 implements memory limits, so that
searches can be constrained to a fixed amount of memory. RE2 is engineered to
use a small fixed C++ stack footprint no matter what inputs or regular
expressions it must process; thus RE2 is useful in multithreaded environments
where thread stacks cannot grow arbitrarily large.

WWW: http://code.google.com/p/re2/