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

Bug #1796 Wrong regular expression in _writeUrlInternal
Submitted: 2004-07-05 12:11 UTC Modified: 2004-07-16 19:17 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  


 [2004-07-05 12: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-16 19: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.