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

Bug #7820 RegExp in default renderer should match ungreedy
Submitted: 2006-06-06 08:42 UTC
From: wiesemann Assigned: avb
Status: Closed Package: HTML_QuickForm (version CVS)
PHP Version: Irrelevant OS: Irrelevant
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 : 8 + 34 = ?

 
 [2006-06-06 08:42 UTC] wiesemann (Mark Wiesemann)
Description: ------------ In line 255 (function _prepareTemplate) of the default renderer should match the error "comments" (i.e <!-- BEGIN error --> and <!-- END error -->) ungreedy. This allows to use more than one pair of them. That's useful if one wants to use both a CSS class and a message (I can provide a code example, if wanted). Suggested patch: www.markwiesemann.de/php/HTML_QuickForm/HTML_QuickForm_Renderer_Default.patch

Comments

 [2006-06-20 16:45 UTC] avb (Alexey Borzov)
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.