Doc #63514 [Opn->Csd]: Incorrect regex pattern in ctype_alnum()
| From: | krakjoe@php.net | Date: | Wed, 14 Nov 2012 14:30:48 +0000 |
| Subject: | Doc #63514 [Opn->Csd]: Incorrect regex pattern in ctype_alnum() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9123@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63514&edit=1
ID: 63514
Updated by: krakjoe@php.net
Reported by: AN47HDTEMVQLKX3 dot NJKM2YX7YWVLP2 at gmail dot com
Summary: Incorrect regex pattern in ctype_alnum()
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: all
PHP Version: Irrelevant
-Assigned To:
+Assigned To: krakjoe
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Thanks :)
Previous Comments:
------------------------------------------------------------------------
[2012-11-14 14:29:10] krakjoe@php.net
Automatic comment from SVN on behalf of krakjoe
Revision: http://svn.php.net/viewvc/?view=revision&revision=328354
Log: fix regex pattern for alphanumeric bug #63514
------------------------------------------------------------------------
[2012-11-14 12:34:01] AN47HDTEMVQLKX3 dot NJKM2YX7YWVLP2 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.ctype-alnum#refsect1-function.ctype-
alnum-description
---
ctype_alnum() regex must be [a-zA-Z0-9] instead of [A-Za-z]
Consider to change description line to:
"Checks if all of the characters in the provided string, text, are alphanumeric.
In the standard C locale letters are just [a-zA-Z0-9]."
Expected result:
----------------
[a-zA-Z0-9]
Actual result:
--------------
[A-Za-z]
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63514&edit=1