Re: [PEPr] Comment on Web Services::Services_JSON
| From: | Michal Migurski | 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:
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:Just for uncommenting the sources, why not use : [code] preg_replace(should have been:'#(?:/\*(?:(?R)|.)*\*/|//.*$)|(([\'"])(?:.*)(?<!\\)|([^\'"/]+))#msU','#(?:/\*(?:(?R)|.)*\*/|//.*$)|(([\'"])(?:.*)(?<!\\\\)\2|([^\'"/]+))#msU'
sf/ca http://mike.teczno.com/contact.html