cleared up potential confusion - saying it "makes it possible to include comments" can be construed as saying "All of PHP's methods of comments are safe inside a /x modified regex"

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325961 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Joey Smith 2012-06-04 09:48:06 +00:00
parent 437ca6963d
commit 67921109e7

View file

@ -67,7 +67,7 @@
character class, and characters between an unescaped #
outside a character class and the next newline character,
inclusive, are also ignored. This is equivalent to Perl's /x
modifier, and makes it possible to include comments inside
modifier, and makes it possible to include commentary inside
complicated patterns. Note, however, that this applies only
to data characters. Whitespace characters may never appear
within special character sequences in a pattern, for example