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

Bug #3355 buildPath generates Warnings (missing delimiter in preg_quote())
Submitted: 2005-02-02 07:33 UTC
From: cmoehrke at netviser dot de Assigned: mike
Status: Closed Package: File
PHP Version: 5.0.3 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2005-02-02 07:33 UTC] cmoehrke at netviser dot de
Description: ------------ Using buildPath() results in a number of warnings, because the delimiter of the PCRE is a / which clashes with the directory separator. Reproduce code: --------------- require_once('File/Util.php'); $parts=array('a','b','c'); echo File_Util::buildPath($parts); Expected result: ---------------- a/b/c Actual result: -------------- Warning: preg_match() [function.preg-match]: Unknown modifier '+' in /usr/local/php/pear/File/Util.php on line 60 Warning: preg_match() [function.preg-match]: Unknown modifier '+' in /usr/local/php/pear/File/Util.php on line 60 Warning: preg_match() [function.preg-match]: Unknown modifier '+' in /usr/local/php/pear/File/Util.php on line 60 a/b/c

Comments

 [2005-02-02 09:07 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!