devel/pcre2 - The NetBSD Packages Collection

Perl Compatible Regular Expressions library (major version 2)

PCRE2 is a re-working of the original PCRE library to provide an entirely new

PCRE2 is written in C, and it has its own API. There are three sets of
functions, one for the 8-bit library, which processes strings of bytes, one for
the 16-bit library, which processes strings of 16-bit values, and one for the
32-bit library, which processes strings of 32-bit values. There are no C++

Build dependencies

devel/libtool-base pkgtools/mktools pkgtools/cwrappers

Runtime dependencies


Binary packages

NetBSD 10.0aarch64pcre2-10.43.tgz
NetBSD 10.0aarch64pcre2-10.42.tgz
NetBSD 10.0aarch64ebpcre2-10.43.tgz
NetBSD 10.0aarch64ebpcre2-10.44.tgz
NetBSD 10.0alphapcre2-10.43.tgz
NetBSD 10.0alphapcre2-10.43.tgz
NetBSD 10.0earmv4pcre2-10.42.tgz
NetBSD 10.0earmv4pcre2-10.43.tgz
NetBSD 10.0earmv4pcre2-10.44.tgz
NetBSD 10.0earmv6hfpcre2-10.43.tgz
NetBSD 10.0earmv6hfpcre2-10.42.tgz
NetBSD 10.0earmv7hfpcre2-10.43.tgz
NetBSD 10.0earmv7hfpcre2-10.42.tgz
NetBSD 10.0i386pcre2-10.43.tgz
NetBSD 10.0i386pcre2-10.42.tgz
NetBSD 10.0i386pcre2-10.44.tgz
NetBSD 10.0m68kpcre2-10.42.tgz
NetBSD 10.0m68kpcre2-10.43.tgz
NetBSD 10.0m68kpcre2-10.44.tgz
NetBSD 10.0mips64ebpcre2-10.43.tgz
NetBSD 10.0mips64ebpcre2-10.44.tgz
NetBSD 10.0powerpcpcre2-10.42.tgz
NetBSD 10.0powerpcpcre2-10.42.tgz
NetBSD 10.0sh3elpcre2-10.43.tgz
NetBSD 10.0sparc64pcre2-10.43.tgz
NetBSD 10.0sparcpcre2-10.43.tgz
NetBSD 10.0vaxpcre2-10.43.tgz
NetBSD 10.0vaxpcre2-10.44.tgz
NetBSD 10.0x86_64pcre2-10.43.tgz
NetBSD 10.0x86_64pcre2-10.42.tgz
NetBSD 10.0x86_64pcre2-10.44.tgz
NetBSD 9.0aarch64pcre2-10.43.tgz
NetBSD 9.0aarch64pcre2-10.42.tgz
NetBSD 9.0alphapcre2-10.43.tgz
NetBSD 9.0earmv4pcre2-10.42.tgz
NetBSD 9.0earmv4pcre2-10.43.tgz
NetBSD 9.0earmv6hfpcre2-10.43.tgz
NetBSD 9.0earmv6hfpcre2-10.42.tgz
NetBSD 9.0earmv7hfpcre2-10.43.tgz
NetBSD 9.0earmv7hfpcre2-10.42.tgz
NetBSD 9.0i386pcre2-10.44.tgz
NetBSD 9.0i386pcre2-10.42.tgz
NetBSD 9.0i386pcre2-10.43.tgz
NetBSD 9.0m68kpcre2-10.42.tgz
NetBSD 9.0m68kpcre2-10.43.tgz
NetBSD 9.0powerpcpcre2-10.42.tgz
NetBSD 9.0powerpcpcre2-10.42.tgz
NetBSD 9.0powerpcpcre2-10.43.tgz
NetBSD 9.0sparc64pcre2-10.43.tgz
NetBSD 9.0x86_64pcre2-10.44.tgz
NetBSD 9.0x86_64pcre2-10.42.tgz
NetBSD 9.0x86_64pcre2-10.43.tgz
NetBSD 9.3x86_64pcre2-10.44.tgz
NetBSD 9.3x86_64pcre2-10.44.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

Enable JIT (just-in-time) support in pcre2.

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.