Anonymous | Login | Signup for a new account | 12-17-2024 10:59 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0004805 | [Quercus] | minor | always | 10-13-11 12:26 | 01-05-13 22:06 | ||||
Reporter | lolharuki | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.34 | Product Version | 4.0.22 | ||||
Product Build | |||||||||
Summary | 0004805: Regex | ||||||||
Description |
I'm trying to run the following code: <?php $pattern = '~^(([^:@]*)(:([^@]*))?@)?((?(?=[[])[[][^]]+[]]|[^:]+))(:(.*) )?$~'; $status = @preg_match($pattern, 'www.google.com', $matches); echo ($status? 'win' : 'fail'); ?> $ php foo.php win But when I request /app/foo.php, it prints 'fail'. |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
37 total queries executed. 31 unique queries executed. |