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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2022 The PHP Group
All rights reserved.
Last updated: Sat Jan 22 16:03:35 2022 UTC