php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7082 determent of the posix 1003.2 standard
Submitted: 2000-10-07 23:54 UTC Modified: 2000-10-07 23:58 UTC
From: jruskiewicz at techtracker dot com Assigned:
Status: Closed Package: *Regular Expressions
PHP Version: 4.0.3RC2 OS: linux
Private report: No CVE-ID: None
 [2000-10-07 23:54 UTC] jruskiewicz at techtracker dot com
the posix shortcut alnum allows for non alph-numeric characters.

ereg("[[:alnum:]]+", "#joseph_") returns true.

this deters from the posix 1003.2 standards.

not a show stopper, but still a bug.

./configure --with-apache=... --with-msyql= .. --with-pfpro= ... --with-gd=...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-07 23:56 UTC] jruskiewicz at techtracker dot com
hope i'm not crazy...

p.s. you guys and/or girls rule!
 [2000-10-07 23:58 UTC] jruskiewicz at techtracker dot com
i am crazy.

ereg("^([[:alnum:]])$", "#joseph_") returns false,
my bad
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC