Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.6

Bug #17555 | or /
Submitted: 2010-07-03 03:56 UTC
From: domih Assigned: amir
Status: Closed Package: Validate (version 0.8.3)
PHP Version: 5.3.2 OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 32 + 34 = ?

 
 [2010-07-03 03:56 UTC] domih (dominique hermsdorff)
Description: ------------ In Validate.php one can read: if ($format && !preg_match("|^[$format]*\$|s", $string)) { do you mean: if ($format && !preg_match("/^[$format]*\$/s", $string)) { ?

Comments

 [2010-07-17 19:58 UTC] amir (Amir Mohammad Saied)
-Status: Open +Status: Closed -Assigned To: +Assigned To: amir
| and / are both valid pattern delimiters in PCRE. Actually any non-alphanumeric (and non-backslash) character is a valid delimiter.