Skip to content

[Sync EN] ext/pcre: document variable-length lookbehind and longer subpattern names (PHP 8.4) (#5739) - #1010

Merged
julionc merged 1 commit into
php:masterfrom
lacatoire:sync-en/983-pcre-lookbehind
Aug 21, 2026
Merged

[Sync EN] ext/pcre: document variable-length lookbehind and longer subpattern names (PHP 8.4) (#5739)#1010
julionc merged 1 commit into
php:masterfrom
lacatoire:sync-en/983-pcre-lookbehind

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Syncs the Spanish translation with php/doc-en#5739 (commit c083c88).

  • reference/pcre/pattern.syntax.xml:
    • new paragraph: as of PHP 8.4.0 (PCRE2 10.44) a subpattern name may be up to 128 characters, previously 32;
    • lookbehind assertions are documented as variable-length, with the fixed-length restriction moved to a separate paragraph as historical information for versions prior to 8.4.0;
    • the two touched paragraphs use simpara, as in EN.
  • EN-Revision updated.

Fixes: #983

@julionc
julionc merged commit ea2de34 into php:masterAug 21, 2026
4 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sync EN] ext/pcre: document variable-length lookbehind and longer subpattern names (PHP 8.4) (#5739)

2 participants

@lacatoire@julionc