Updated class name regex to include start/end anchors.

-- 
Provided by anonymous 35003 (robin@kingsquare.nl)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332018 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Chris Wright 2013-10-30 18:22:34 +00:00
parent 7770c29d14
commit fc85461184

View file

@ -18,7 +18,7 @@
name starts with a letter or underscore, followed by any number of
letters, numbers, or underscores. As a regular expression, it
would be expressed thus:
<literal>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</literal>.
<literal>^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$</literal>.
</para>
<para>
A class may contain its