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)    

 [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


 [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 In case this was a 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.