devel/re2 20240702_1 DragonFly
Fast C++ regex library
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD3CLAUSE
- Categories
- devel
- Package size
- 251.3 KiB, 1260.5 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/re2 | 20240702_1 |
| FreeBSD | devel/re2 | 20251105 |
| OpenBSD | textproc/re2 | 20251105p1 |
| NetBSD | devel/re2 | 20251105nb3 |
| MidnightBSD | devel/re2 | 20240702 |
| HardenedBSD | devel/re2 | 20251105 |
| GhostBSD | devel/re2 | 20251105 |
| OPNsense | devel/re2 | 20251105 |
Install
Binary package:
pkg install re2
From DPorts:
cd /usr/dports/devel/re2 && make install clean