devel/re2 20251105 FreeBSD
Fast C++ regex library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD3CLAUSE
- Categories
- devel
- Package size
- 256.7 KiB, 1330.0 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 |
|---|---|---|
| FreeBSD | devel/re2 | 20251105 |
| OpenBSD | textproc/re2 | 20251105p1 |
| NetBSD | devel/re2 | 20251105nb3 |
| DragonFly | devel/re2 | 20240702_1 |
| MidnightBSD | devel/re2 | 20240702 |
Install
Binary package:
pkg install re2
From the ports tree:
cd /usr/ports/devel/re2/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= re2>0:devel/re2
LIB_DEPENDS= libre2.so:devel/re2
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 20251105 | 20251105 | 20220601 | 20250722 | 20251105 |
| FreeBSD:14:quarterly | 20251105 | 20251105 | n/a | 20250626b | 20251105 |
| FreeBSD:15:latest | 20251105 | 20251105 | n/a | 20250722 | 20250722 |
| FreeBSD:15:quarterly | 20251105 | 20251105 | n/a | n/a | n/a |
| FreeBSD:16:latest | 20251105 | 20251105 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
abseil>=20240116.2: devel/abseil
Library 1
libabsl_base.so: devel/abseil
The full lists below include those, and their dependencies in turn.
Build dependencies 5
Run dependencies 1
Required by 390
- astro/gpsbabel
- astro/marble
- astro/merkaartor
- astro/qmapshack
- astro/viking
- audio/amarok
- audio/jacktrip
- audio/sc3-plugins
- audio/supercollider
- biology/atac-seq
- biology/biostar-tools
- biology/chip-seq
- biology/ncbi-blast+
- biology/py-gtfparse
- biology/py-multiqc
- biology/rna-seq
- cad/camotics
- cad/freecad
- cad/freecad-devel
- cad/openroad
- cad/qflow
- chinese/fcitx5-chinese-addons
- chinese/libime-jyutping
- comms/sdrangel
- databases/arrow
- databases/arrow-glib
- databases/kbibtex
- databases/py-databricks-sql-connector
- databases/py-datafusion
- databases/py-db-dtypes
- databases/py-harlequin
- databases/py-harlequin-mysql
- databases/py-harlequin-postgres
- databases/py-lancedb
- databases/py-pyarrow
- databases/py-pyarrow-stubs
- databases/py-pylance
- databases/rubygem-google-cloud-datastore
- databases/rubygem-google-cloud-datastore-v1
- databases/rubygem-google-cloud-firestore
- databases/rubygem-google-cloud-firestore-v1
- databases/rubygem-red-arrow
- databases/rubygem-red-arrow-dataset
- databases/rubygem-red-arrow-flight
- databases/rubygem-red-arrow-flight-sql
- databases/rubygem-red-gandiva
- databases/rubygem-red-parquet
- deskutils/akonadi-calendar-tools
- deskutils/akonadi-import-wizard
- deskutils/akonadiconsole
- deskutils/akregator
- deskutils/calibre
- deskutils/grantlee-editor
- deskutils/joplin-desktop
- deskutils/kaddressbook
- deskutils/kalarm
- deskutils/kdepim
- deskutils/kdepim-addons
- deskutils/kdepim-runtime
- deskutils/kmail
- deskutils/kmail-account-wizard
- deskutils/kontact
- deskutils/korganizer
- deskutils/mbox-importer
- deskutils/merkuro
- deskutils/nextcloudclient
- deskutils/normcap
- deskutils/pim-data-exporter
- deskutils/pim-sieve-editor
- deskutils/podman-desktop
- deskutils/py-qmd
- deskutils/syncthingtray
- deskutils/uchmviewer
- deskutils/vnote
- deskutils/zanshin
- devel/bloaty
- devel/cbang
- devel/electron41
- devel/electron42
- devel/electron43
- devel/electron44
- devel/gammaray
- devel/google-cloud-cpp
- devel/grpc
- devel/kdev-php
- devel/kdev-python
- devel/kdevelop
- devel/libddwaf
- devel/openvino
- devel/plasma6-plasma-sdk
- devel/plasma6-plasma5support
- devel/py-cel-python
- devel/py-dask
- devel/py-dask-awkward
- devel/py-dask-expr
- devel/py-dask-geopandas
- devel/py-dask-histogram
- devel/py-ddtrace
- devel/py-distributed
- devel/py-google-re2
The first 100 are listed.
Configuration
No options to configure.
- USES
- compiler:c++17-lang gmake localbase:ldflags pkgconfig
- Service scripts
- none
Files
pkg-plist 9
- include/re2/filtered_re2.h
- include/re2/re2.h
- include/re2/set.h
- include/re2/stringpiece.h
- lib/libre2.a
- lib/libre2.so
- lib/libre2.so.11
- lib/libre2.so.11.0.0
- libdata/pkgconfig/re2.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| re2-2025-11-05.tar.gz | 397504 | 87f6029d2f6de8aa023654240a03ada90e876ce9a4676e258dd01ea4c26ffd67 |
Master sites 1
- https://github.com/google/re2/releases/download/${PORTVERSION:C|(....)(..)(..)|\1-\2-\3|}/
Commit history 0
No commits in the history this site was built from.