| Nuno Lopes 2006-07-25, 7:57 am |
| 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/phpdo...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>
|