Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000597 [Quercus] minor always 12-30-05 08:55 12-30-05 15:08
Reporter creich View Status @0@  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0000597: eregi and "^[[:alnum:]]+$"
Description <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd"> [^]
<html xmlns="http://www.w3.org/1999/xhtml"> [^]
<head></head>
<body>
<?php

  $s = "foo";

  if (eregi ("^[[:alnum:]]+$", $s)) {
    echo "works";
  } else {
    echo "broken";
  }

?>
</body>
</html>

Is supposed to output:

works

But instead outputs:

broken
Additional Information
Attached Files

- Relationships

- Notes
(0000599)
creich
12-30-05 09:40

[a-zA-Z0-9] works though
 
(0000605)
ferg
12-30-05 15:08

php/1519
 

- Issue History
Date Modified Username Field Change
12-30-05 08:55 creich New Issue
12-30-05 09:40 creich Note Added: 0000599
12-30-05 15:08 ferg Status new => closed
12-30-05 15:08 ferg Note Added: 0000605
12-30-05 15:08 ferg Resolution open => fixed
12-30-05 15:08 ferg Fixed in Version  => 3.0.18


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker