cvs: phpdoc /en/reference/ctype/functions ctype-alnum.xml
| From: | Nuno Lopes | Date: | Tue, 25 Jul 2006 11:08:44 +0000 |
| Subject: | cvs: phpdoc /en/reference/ctype/functions ctype-alnum.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969373584@lists.php.net to get a copy of this message | ||
nlopess Tue Jul 25 11:08:44 2006 UTC
Modified files:
/phpdoc/en/reference/ctype/functions ctype-alnum.xml
Log:
fix regex example to match php 5.1
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ctype/functions/ctype-alnum.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/en/reference/ctype/functions/ctype-alnum.xml
diff -u phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.7
phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.8
--- phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.7 Mon Mar 7 20:55:39 2005
+++ phpdoc/en/reference/ctype/functions/ctype-alnum.xml Tue Jul 25 11:08:44 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -->
<refentry id="function.ctype-alnum">
<refnamediv>
@@ -18,7 +18,7 @@
<parameter>text</parameter>, are alphanumeric. In the standard
<literal>C</literal> locale letters are just <literal>[A-Za-z]</literal>
and the function is equivalent to
- <literal>preg_match('/^[a-z0-9]*$/i', $text)</literal>.
+ <literal>preg_match('/^[a-z0-9]+$/i', $text)</literal>.
</para>
</refsect1>