From 1eeb027e9a56c984942d7ee7db85657300ecd252 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sun, 10 Sep 2017 17:31:14 +0000 Subject: [PATCH] Fix formatting git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343050 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/parle/pattern.matching.xml | 36 +++++++++++++++++++++------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/reference/parle/pattern.matching.xml b/reference/parle/pattern.matching.xml index 416940a319..a129526edc 100644 --- a/reference/parle/pattern.matching.xml +++ b/reference/parle/pattern.matching.xml @@ -194,16 +194,36 @@ (...)Group a regular expression to override default operator precedence. - (?r-s:pattern) + (?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. - - i means case-insensitive. -i means case-sensitive. - - s alters the meaning of '.' to match any character whatsoever. -s alters the meaning of '.' to match any character except '\n' - - x ignores comments and whitespace in patterns. Whitespace is ignored unless it is backslash-escaped, contained within ""s, or appears inside a character range. - + + Options + + + + OptionDescription + + + + + iCase insensitive. + + + -iCase sensitive. + + + sAlters the meaning of '.' to match any character whatsoever. + + + -s"lters the meaning of '.' to match any character except '\n'. + + + xIgnores comments and whitespace in patterns. Whitespace is ignored unless it is backslash-escaped, contained within ""s, or appears inside a character range. + + + +
These options can be applied globally at the rules level by passing a combination of the bit flags to the lexer.