|Did you know ...||Search Documentation:|
:- use_module(library(pcre)).(can be autoloaded)
Name(Value). Name is derived from the
PCRE_CONFIG_*constant after removing
PCRE_CONFIG_and mapping the name to lower case, e.g.
unicode_properties, etc. Value is a Prolog boolean, integer, or atom. For boolean (1 or 0) values,
re_config/1 will backtrack through all the possible configuration values if its argument is a variable. If an unknown option is specified, re_config/1 fails.
Non-compatible changes between PCRE1 and PCRE2 because numeric values
newline have been replaced by
bsrreturned 0 or 1; now returns
newlinereturned an integer, now returns
Term values are as follows. Some values might not exist, depending on the version of PCRE2 and the options it was built with.
\Rescape sequence matches by default. Replaces
bsroption from PCRE1, which is not compatible.
trueif just-in-time compiling is available.
newlineoption from PCRE1, which is not compatible.
For backwards compatibility with PCRE1, the following are accepted, but are deprecated:
utf8- synonym for
link_size- synonym for
match_limit- synonym for
parens_limit- synonym for
unicode_properties- always true
The following have been removed because they don't exist in PCRE2 and don't seem to have any meaningful use in PCRE1: