Fix formatting

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343050 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Anatol Belski 2017-09-10 17:31:14 +00:00
parent d22598b8e0
commit 1eeb027e9a

View file

@ -194,16 +194,36 @@
<entry>(...)</entry><entry>Group a regular expression to override default operator precedence.</entry>
</row>
<row>
<entry>(?r-s:pattern)</entry>
<entry valign="top">(?r-s:pattern)</entry>
<entry>
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.
<table>
<title>Options</title>
<tgroup cols="2">
<thead>
<row>
<entry>Option</entry><entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>i</entry><entry>Case insensitive.</entry>
</row>
<row>
<entry>-i</entry><entry>Case sensitive.</entry>
</row>
<row>
<entry>s</entry><entry>Alters the meaning of '.' to match any character whatsoever.</entry>
</row>
<row>
<entry>-s</entry><entry>"lters the meaning of '.' to match any character except '\n'.</entry>
</row>
<row>
<entry>x</entry><entry>Ignores comments and whitespace in patterns. Whitespace is ignored unless it is backslash-escaped, contained within ""s, or appears inside a character range.</entry>
</row>
</tbody>
</tgroup>
</table>
These options can be applied globally at the rules level by passing a combination of the bit flags to the lexer.
</entry>
</row>