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

Bug #10620 use \z instead of $ in regexes
Submitted: 2007-04-05 03:58 UTC
From: cellog Assigned: cellog
Status: Closed Package: PEAR (version CVS)
PHP Version: Irrelevant OS: n/a
Roadmaps: 1.6.1, 1.5.3    
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 : 10 + 4 = ?

 
 [2007-04-05 03:58 UTC] cellog (Greg Beaver)
Description: ------------ As mentioned by Stefan Esser in his blog, $ can match an unintended newline at the end of a statement. Better is to use the \z end indicator.

Comments

 [2007-04-09 04:32 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.
 [2007-04-09 04:32 UTC] cellog (Greg Beaver)
This bug needs to be merged to HEAD from PEAR_5_1