Re: [PEPr] Comment on Web Services::Services_JSON

From: Date: Thu, 13 Oct 2005 15:37:52 +0000
Subject: Re: [PEPr] Comment on Web Services::Services_JSON
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-40163@lists.php.net to get a copy of this message
On Oct 13, 2005, at 6:26 AM, bertrand Gugger wrote:
Just for uncommenting the sources, why not use : [code] preg_replace(
        '#(?:/\*(?:(?R)|.)*\*/|//.*$)|(([\'"])(?:.*)(?<!\\)|([^\'"/]+))#msU',
should have been:
       '#(?:/\*(?:(?R)|.)*\*/|//.*$)|(([\'"])(?:.*)(?<!\\\\)\2|([^\'"/]+))#msU'
Where would this go - reduce_string() ? It doesn't work in that location - perhaps you had something else in mind. Would you mind deconstructing the pattern a little? ------------------------------------------------------ michal migurski- contact info, blog, and pgp key:
sf/ca            http://mike.teczno.com/contact.html


« previous php.pear.dev (#40163) next »