pcre_config {base}R Documentation

Report Configuration Options for PCRE

Description

Report some of the configuration options of the version of PCRE in use in this R session.

Usage

pcre_config()

Details

Detection of JIT requires R to have been compiled against the headers of PCRE 8.20 or later: it then checks at runtime the capabilities of the running PCRE library (which could conceivably be earlier).

Value

A named logical vector, currently with elements

UTF-8

Support for UTF-8 inputs. Required.

Unicode properties

Support for \p{xx} and \P{xx} in regular expressions. Desirable and used by some CRAN packages.

JIT

Support for just-in-time compilation. Desirable for speed (but only available as compile-time option on certain architectures as from PCRE 8.20).

stack

Does match recursion use a stack (TRUE, the PCRE default) or a heap? See the discussion at http://www.pcre.org/original/doc/html/pcrestack.html. (Added in R 3.4.0.)

See Also

extSoftVersion for the PCRE version.

Examples

pcre_config()

[Package base version 3.4.0 Index]