Skip to content

[Sync-En] preg_match: the A modifier works with offset - #1383

Closed
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/1357-preg-match-a-modifier
Closed

lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/1357-preg-match-a-modifier

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Translation of php/doc-en#5887 (commit f88f34a): the A modifier, like \G, works with the offset parameter. EN-Revision updated.

Fixed a few inaccuracies in the same file along the way (preg_match_all instead of preg_match in the offset note, and the second "Find the word" example that did not demonstrate a non-match).

Fixes: #1357

@lacatoire lacatoire closed this Oct 1, 2026
Sign up for free to 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] preg_match: the A modifier works with offset (#5887)

1 participant