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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jruskiewicz at techtracker dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2021 The PHP Group
All rights reserved.
Last updated: Sat Dec 04 04:03:34 2021 UTC