BSD Ports

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

SystemPortVersion
FreeBSDdevel/pcre210.49
OpenBSDdevel/pcre210.48
NetBSDdevel/pcre210.49
DragonFlydevel/pcre210.45
MidnightBSDdevel/pcre210.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest10.4910.4910.4210.45_110.49
FreeBSD:14:quarterly10.4910.49n/a10.45_110.49
FreeBSD:15:latest10.4910.49n/a10.45_110.45_1
FreeBSD:15:quarterly10.4910.49n/an/an/a
FreeBSD:16:latest10.4910.49n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

The first 100 are listed.

Configuration

Options name: devel_pcre2

OptionDefaultDescription
DOCSoffBuild and/or install documentation
LIBBZ2offUsing pcre2grep with .bz2 files
LIBEDIToffCommand line editing via libedit
LIBZoffUsing pcre2grep with .gz files
READLINEoffCommand line editing via libreadline
STATIConBuild 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
FileSizeSHA256
pcre2-10.49.tar.bz22.185271e+0653c156e1ba416a20da8e65395daa132da0d80e76910424caca3fcdae7831d384
Master sites 1
  • https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.49/

Commit history 2

DateCommitCreditsLog message
c07687cd56 Kirill Ponomarev devel/pcre2: Update to 10.49
PR: 298955 Reported by: dizzy
f2beed29d0 Kirill Ponomarev devel/pcre2: Update to 10.48
PR: 298089 Reported by: dizzy