devel/pcre2 10.49 FreeBSD
Perl Compatible Regular Expressions library, version 2
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
c07687cd56- License
- BSD3CLAUSE
- Categories
- devel
- Package size
- 1261.1 KiB, 7594.7 KiB installed
Description
PCRE2 is the name used for a revised API for the PCRE library, which is a set of functions, written in C, that implement regular expression pattern matching using the same syntax and semantics as Perl, with just a few differences. Some features that appeared in Python and the original PCRE before they appeared in Perl are also available using the Python syntax. There is also some support for one or two .NET and Oniguruma syntax items, and there are options for requesting some minor changes that give better ECMAScript (aka JavaScript) compatibility.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/pcre2 | 10.49 |
| OpenBSD | devel/pcre2 | 10.48 |
| NetBSD | devel/pcre2 | 10.49 |
| DragonFly | devel/pcre2 | 10.45 |
| MidnightBSD | devel/pcre2 | 10.48 |
Install
Binary package:
pkg install pcre2
From the ports tree:
cd /usr/ports/devel/pcre2/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= pcre2>0:devel/pcre2
LIB_DEPENDS= libpcre2-16.so:devel/pcre2
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 | 10.49 | 10.49 | 10.42 | 10.45_1 | 10.49 |
| FreeBSD:14:quarterly | 10.49 | 10.49 | n/a | 10.45_1 | 10.49 |
| FreeBSD:15:latest | 10.49 | 10.49 | n/a | 10.45_1 | 10.45_1 |
| FreeBSD:15:quarterly | 10.49 | 10.49 | n/a | n/a | n/a |
| FreeBSD:16:latest | 10.49 | 10.49 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Required by 8547
- accessibility/accerciser
- accessibility/at-spi2-core
- accessibility/atkmm
- accessibility/caribou
- accessibility/feedbackd
- accessibility/gammastep
- accessibility/kdeaccessibility
- accessibility/kmag
- accessibility/kmousetool
- accessibility/kmouth
- accessibility/libqaccessibilityclient
- accessibility/libspeechprovider
- accessibility/libspiel
- accessibility/linux-c7-at-spi2-atk
- accessibility/linux-c7-at-spi2-core
- accessibility/linux-rl9-at-spi2-atk
- accessibility/linux-rl9-at-spi2-core
- accessibility/onboard
- accessibility/orca
- accessibility/py-atspi
- accessibility/py-speech-dispatcher
- accessibility/qt5-speech
- accessibility/qt6-speech
- accessibility/redshift
- accessibility/rubygem-atk
- accessibility/speech-dispatcher
- arabic/arabtex
- arabic/libreoffice
- archivers/R-cran-brotli
- archivers/R-cran-zip
- archivers/apache-commons-compress
- archivers/ark
- archivers/arqiver
- archivers/engrampa
- archivers/file-roller
- archivers/gcab
- archivers/gnome-autoar
- archivers/javatar
- archivers/kf5-karchive
- archivers/kf6-karchive
- archivers/libarchive-qt
- archivers/lxqt-archiver
- archivers/pear-File_Archive
- archivers/pear-Horde_Compress
- archivers/pear-Horde_Compress_Fast
- archivers/pear-Horde_Pack
- archivers/pear-PHP_Archive
- archivers/peazip
- archivers/pecl-lzf
- archivers/pecl-rar
- archivers/pecl-zstd
- archivers/php-brotli
- archivers/php-bzip3
- archivers/php-horde_lz4
- archivers/php-lz4
- archivers/php-snappy
- archivers/php-zstd
- archivers/php82-bz2
- archivers/php82-phar
- archivers/php82-zip
- archivers/php82-zlib
- archivers/php83-bz2
- archivers/php83-phar
- archivers/php83-zip
- archivers/php83-zlib
- archivers/php84-bz2
- archivers/php84-phar
- archivers/php84-zip
- archivers/php84-zlib
- archivers/php85-bz2
- archivers/php85-phar
- archivers/php85-zip
- archivers/php85-zlib
- archivers/php86-bz2
- archivers/php86-phar
- archivers/php86-zip
- archivers/php86-zlib
- archivers/py-comicapi
- archivers/py-extractcode
- archivers/quazip
- archivers/snappy-java
- archivers/thunar-archive-plugin
- archivers/unarchiver
- archivers/v1541commander
- archivers/xarchive
- archivers/xarchiver
- archivers/zipper
- astro/astrometry
- astro/calcmysky
- astro/celestia-gtk
- astro/foxtrotgps
- astro/geographiclib
- astro/gkrellmoon2
- astro/gnuastro
- astro/google-earth-pro
- astro/gpsbabel
- astro/gpscorrelate
- astro/gpsd
- astro/gpsprune
- astro/indiwebmanagerapp
The first 100 are listed.
Configuration
Options name: devel_pcre2
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| LIBBZ2 | off | Using pcre2grep with .bz2 files |
| LIBEDIT | off | Command line editing via libedit |
| LIBZ | off | Using pcre2grep with .gz files |
| READLINE | off | Command line editing via libreadline |
| STATIC | on | Build static executables and/or libraries |
- USES
- cmake:testing cpe pathfix pkgconfig tar:bz2
- Service scripts
- none
Files
Manual pages 100
- pcre2(3)
- pcre2-config(1)
- pcre2_callout_enumerate(3)
- pcre2_code_copy(3)
- pcre2_code_copy_with_tables(3)
- pcre2_code_free(3)
- pcre2_compile(3)
- pcre2_compile_context_copy(3)
- pcre2_compile_context_create(3)
- pcre2_compile_context_free(3)
- pcre2_config(3)
- pcre2_convert_context_copy(3)
- pcre2_convert_context_create(3)
- pcre2_convert_context_free(3)
- pcre2_converted_pattern_free(3)
- pcre2_dfa_match(3)
- pcre2_general_context_copy(3)
- pcre2_general_context_create(3)
- pcre2_general_context_free(3)
- pcre2_get_error_message(3)
- pcre2_get_mark(3)
- pcre2_get_match_data_heapframes_size(3)
- pcre2_get_match_data_size(3)
- pcre2_get_ovector_count(3)
- pcre2_get_ovector_pointer(3)
- pcre2_get_startchar(3)
- pcre2_jit_compile(3)
- pcre2_jit_free_unused_memory(3)
- pcre2_jit_match(3)
- pcre2_jit_stack_assign(3)
- pcre2_jit_stack_create(3)
- pcre2_jit_stack_free(3)
- pcre2_maketables(3)
- pcre2_maketables_free(3)
- pcre2_match(3)
- pcre2_match_context_copy(3)
- pcre2_match_context_create(3)
- pcre2_match_context_free(3)
- pcre2_match_data_create(3)
- pcre2_match_data_create_from_pattern(3)
- pcre2_match_data_free(3)
- pcre2_next_match(3)
- pcre2_pattern_convert(3)
- pcre2_pattern_info(3)
- pcre2_serialize_decode(3)
- pcre2_serialize_encode(3)
- pcre2_serialize_free(3)
- pcre2_serialize_get_number_of_codes(3)
- pcre2_set_bsr(3)
- pcre2_set_callout(3)
- pcre2_set_character_tables(3)
- pcre2_set_compile_extra_options(3)
- pcre2_set_compile_recursion_guard(3)
- pcre2_set_depth_limit(3)
- pcre2_set_glob_escape(3)
- pcre2_set_glob_separator(3)
- pcre2_set_heap_limit(3)
- pcre2_set_match_limit(3)
- pcre2_set_max_pattern_compiled_length(3)
- pcre2_set_max_pattern_length(3)
- pcre2_set_max_varlookbehind(3)
- pcre2_set_newline(3)
- pcre2_set_offset_limit(3)
- pcre2_set_optimize(3)
- pcre2_set_parens_nest_limit(3)
- pcre2_set_recursion_limit(3)
- pcre2_set_recursion_memory_management(3)
- pcre2_set_substitute_callout(3)
- pcre2_set_substitute_case_callout(3)
- pcre2_substitute(3)
- pcre2_substring_copy_byname(3)
- pcre2_substring_copy_bynumber(3)
- pcre2_substring_free(3)
- pcre2_substring_get_byname(3)
- pcre2_substring_get_bynumber(3)
- pcre2_substring_length_byname(3)
- pcre2_substring_length_bynumber(3)
- pcre2_substring_list_free(3)
- pcre2_substring_list_get(3)
- pcre2_substring_nametable_scan(3)
- pcre2_substring_number_from_name(3)
- pcre2api(3)
- pcre2build(3)
- pcre2callout(3)
- pcre2compat(3)
- pcre2convert(3)
- pcre2demo(3)
- pcre2grep(1)
- pcre2jit(3)
- pcre2limits(3)
- pcre2matching(3)
- pcre2partial(3)
- pcre2pattern(3)
- pcre2perform(3)
- pcre2posix(3)
- pcre2sample(3)
- pcre2serialize(3)
- pcre2syntax(3)
- pcre2test(1)
- pcre2unicode(3)
pkg-plist 128
- bin/pcre2-config
- bin/pcre2grep
- include/pcre2.h
- include/pcre2posix.h
- lib/cmake/pcre2/pcre2-config-version.cmake
- lib/cmake/pcre2/pcre2-config.cmake
- lib/cmake/pcre2/pcre2-targets-.cmake
- lib/cmake/pcre2/pcre2-targets.cmake
- lib/libpcre2-16.a
- lib/libpcre2-16.so
- lib/libpcre2-16.so.0
- lib/libpcre2-16.so.0.16.1
- lib/libpcre2-32.a
- lib/libpcre2-32.so
- lib/libpcre2-32.so.0
- lib/libpcre2-32.so.0.16.1
- lib/libpcre2-8.a
- lib/libpcre2-8.so
- lib/libpcre2-8.so.0
- lib/libpcre2-8.so.0.16.1
- lib/libpcre2-posix.a
- lib/libpcre2-posix.so
- lib/libpcre2-posix.so.3
- lib/libpcre2-posix.so.3.0.9
- libdata/pkgconfig/libpcre2-16.pc
- libdata/pkgconfig/libpcre2-32.pc
- libdata/pkgconfig/libpcre2-8.pc
- libdata/pkgconfig/libpcre2-posix.pc
- share/man/man1/pcre2-config.1.gz
- share/man/man1/pcre2grep.1.gz
- share/man/man1/pcre2test.1.gz
- share/man/man3/pcre2.3.gz
- share/man/man3/pcre2_callout_enumerate.3.gz
- share/man/man3/pcre2_code_copy.3.gz
- share/man/man3/pcre2_code_copy_with_tables.3.gz
- share/man/man3/pcre2_code_free.3.gz
- share/man/man3/pcre2_compile.3.gz
- share/man/man3/pcre2_compile_context_copy.3.gz
- share/man/man3/pcre2_compile_context_create.3.gz
- share/man/man3/pcre2_compile_context_free.3.gz
- share/man/man3/pcre2_config.3.gz
- share/man/man3/pcre2_convert_context_copy.3.gz
- share/man/man3/pcre2_convert_context_create.3.gz
- share/man/man3/pcre2_convert_context_free.3.gz
- share/man/man3/pcre2_converted_pattern_free.3.gz
- share/man/man3/pcre2_dfa_match.3.gz
- share/man/man3/pcre2_general_context_copy.3.gz
- share/man/man3/pcre2_general_context_create.3.gz
- share/man/man3/pcre2_general_context_free.3.gz
- share/man/man3/pcre2_get_error_message.3.gz
- share/man/man3/pcre2_get_mark.3.gz
- share/man/man3/pcre2_get_match_data_heapframes_size.3.gz
- share/man/man3/pcre2_get_match_data_size.3.gz
- share/man/man3/pcre2_get_ovector_count.3.gz
- share/man/man3/pcre2_get_ovector_pointer.3.gz
- share/man/man3/pcre2_get_startchar.3.gz
- share/man/man3/pcre2_jit_compile.3.gz
- share/man/man3/pcre2_jit_free_unused_memory.3.gz
- share/man/man3/pcre2_jit_match.3.gz
- share/man/man3/pcre2_jit_stack_assign.3.gz
- share/man/man3/pcre2_jit_stack_create.3.gz
- share/man/man3/pcre2_jit_stack_free.3.gz
- share/man/man3/pcre2_maketables.3.gz
- share/man/man3/pcre2_maketables_free.3.gz
- share/man/man3/pcre2_match.3.gz
- share/man/man3/pcre2_match_context_copy.3.gz
- share/man/man3/pcre2_match_context_create.3.gz
- share/man/man3/pcre2_match_context_free.3.gz
- share/man/man3/pcre2_match_data_create.3.gz
- share/man/man3/pcre2_match_data_create_from_pattern.3.gz
- share/man/man3/pcre2_match_data_free.3.gz
- share/man/man3/pcre2_next_match.3.gz
- share/man/man3/pcre2_pattern_convert.3.gz
- share/man/man3/pcre2_pattern_info.3.gz
- share/man/man3/pcre2_serialize_decode.3.gz
- share/man/man3/pcre2_serialize_encode.3.gz
- share/man/man3/pcre2_serialize_free.3.gz
- share/man/man3/pcre2_serialize_get_number_of_codes.3.gz
- share/man/man3/pcre2_set_bsr.3.gz
- share/man/man3/pcre2_set_callout.3.gz
- share/man/man3/pcre2_set_character_tables.3.gz
- share/man/man3/pcre2_set_compile_extra_options.3.gz
- share/man/man3/pcre2_set_compile_recursion_guard.3.gz
- share/man/man3/pcre2_set_depth_limit.3.gz
- share/man/man3/pcre2_set_glob_escape.3.gz
- share/man/man3/pcre2_set_glob_separator.3.gz
- share/man/man3/pcre2_set_heap_limit.3.gz
- share/man/man3/pcre2_set_match_limit.3.gz
- share/man/man3/pcre2_set_max_pattern_compiled_length.3.gz
- share/man/man3/pcre2_set_max_pattern_length.3.gz
- share/man/man3/pcre2_set_max_varlookbehind.3.gz
- share/man/man3/pcre2_set_newline.3.gz
- share/man/man3/pcre2_set_offset_limit.3.gz
- share/man/man3/pcre2_set_optimize.3.gz
- share/man/man3/pcre2_set_parens_nest_limit.3.gz
- share/man/man3/pcre2_set_recursion_limit.3.gz
- share/man/man3/pcre2_set_recursion_memory_management.3.gz
- share/man/man3/pcre2_set_substitute_callout.3.gz
- share/man/man3/pcre2_set_substitute_case_callout.3.gz
- share/man/man3/pcre2_substitute.3.gz
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pcre2-10.49.tar.bz2 | 2.185271e+06 | 53c156e1ba416a20da8e65395daa132da0d80e76910424caca3fcdae7831d384 |
Master sites 1
- https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.49/