[Sync-En] pcre: expand the description of the ? meta-character - #3528
Merged
Conversation
lacatoire
force-pushed
the
sync-en/3523-pcre-pattern-syntax
branch
from
September 8, 2026 07:41
e9c21cd to
20ca5bc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Translation of php/doc-en#3057 (commit c414a81): the
?row of the meta-characters table now spells out the three roles of the character instead of the one-line summary. EN-Revision updated.Reading the whole file side by side turned up a number of real defects, fixed in the same commit since the file cannot be split across PRs: several outright contresens (the
$paragraph claimed dollar has a special meaning inside a character class, options were said not to carry into subsequent branches, back references below 10 were described backwards, "200 assertions at most" instead of assertions counting towards the 200 subpattern limit, "sequences of digits cannot be found" instead of non-digits not being split), two broken examples checked against PHP 8.5 (( ?:roi|prince)with a stray space, and(inter[net]{3}\s*)+which does not capture what the text claims), a garbled character class, an untranslated table title, and a handful of agreement and wording errors.Fixes: #3523