array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'parle.regex.grouping.php', 1 => 'Grouping', ), 'up' => array ( 0 => 'parle.pattern.matching.php', 1 => 'Pattern matching', ), 'prev' => array ( 0 => 'parle.regex.anchors.php', 1 => 'Anchors', ), 'next' => array ( 0 => 'parle.examples.php', 1 => 'Examples', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/parle/pattern.matching.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
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. |