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

Bug #1796 Wrong regular expression in _writeUrlInternal
Submitted: 2004-07-05 17:11 UTC
From: kaa at 908 dot dp dot ua Assigned: xnoguer
Status: Closed Package: Spreadsheet_Excel_Writer
PHP Version: Irrelevant 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 : 24 + 19 = ?

 
 [2004-07-05 17:11 UTC] kaa at 908 dot dp dot ua
Description: ------------ In function _writeUrlInternal there is regular expression that removes prefix "internal:" in internal links. $url = preg_replace('s[^internal:]', '', $url); The character 's' is unnecessary. Reproduce code: --------------- $worksheet->writeUrl(0, 0, "internal:sheet!A1", "Link"); Expected result: ---------------- New hyperlink. Actual result: -------------- Warning: Delimiter must not be alphanumeric or backslash

Comments

 [2004-07-17 00:17 UTC] xnoguer at php dot net
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.