IntroductionThis extension integrates regular expression pattern matching support into PHP. It is based on the free and open-source » PCRE2 library. This library implements regular expression pattern matching using syntax and semantics compatible with Perl, with a few » documented differences. See Pattern Syntax and Pattern Modifiers for a detailed explanation. To improve performance, the extension caches compiled regular expressions. Each thread has its own dedicated cache, capable of holding up to 4096 expressions.
Warning
PCRE2 imposes » size and other limits that may be relevant in some cases. |