[doc-en] master: pcre: the X modifier is ignored as of PHP 8.0.0 (#6165)

From: Date: Fri, 27 Nov 2026 13:32:55 +0000
Subject: [doc-en] master: pcre: the X modifier is ignored as of PHP 8.0.0 (#6165)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-24030@lists.php.net to get a copy of this message
Author: Louis-Arnaud (lacatoire) Committer: GitHub (web-flow) Pusher: lacatoire Date: 2026-11-27T14:32:51+01:00 Commit: https://github.com/php/doc-en/commit/1eb43954715c3f92be480d801e38ac763b802efe Raw diff: https://github.com/php/doc-en/commit/1eb43954715c3f92be480d801e38ac763b802efe.diff pcre: the X modifier is ignored as of PHP 8.0.0 (#6165) Changed paths: M reference/pcre/pattern.modifiers.xml Diff: diff --git a/reference/pcre/pattern.modifiers.xml b/reference/pcre/pattern.modifiers.xml index f18876fcf571..9f22f1b3a483 100644 --- a/reference/pcre/pattern.modifiers.xml +++ b/reference/pcre/pattern.modifiers.xml @@ -141,14 +141,9 @@ <term><emphasis>X</emphasis> (<literal>PCRE_EXTRA</literal>)</term> <listitem> <simpara> - This modifier turns on additional functionality of PCRE that - is incompatible with Perl. Any backslash in a pattern that - is followed by a letter that has no special meaning causes - an error, thus reserving these combinations for future - expansion. By default, as in Perl, a backslash followed by a - letter with no special meaning is treated as a literal. - There are at present no other features controlled by this - modifier. + This modifier is ignored as of PHP 8.0.0. A backslash in a + pattern that is followed by a letter that has no special + meaning always causes an error. </simpara> </listitem> </varlistentry>

« previous php.doc.cvs (#24030) next »