PHP - Manual: Grouping
2024-12-20
Sequence | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
(...) | Group a regular expression to override default operator precedence. | ||||||||||||
(?r-s:pattern) |
Apply option r and omit option s while interpreting pattern. Options may be zero or more of the characters i, s, or x.
|
||||||||||||
(?# comment ) | Omit everything within (). The first ) character encountered ends the pattern. It is not possible for the comment to contain a ) character. The comment may span lines. |