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

Bug #10620 use \z instead of $ in regexes
Submitted: 2007-04-04 22:58 UTC Modified: 2007-06-09 23:36 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  


 [2007-04-04 22: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-08 23: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-08 23:32 UTC] cellog (Greg Beaver)
This bug needs to be merged to HEAD from PEAR_5_1