Re: php seems to be inconsistent in its handling of backslashes ... maybe?
| From: | ufan100 at gmail dot com | Date: | Sun, 22 Apr 2007 21:08:52 +0000 |
| Subject: | Re: php seems to be inconsistent in its handling of backslashes ... maybe? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253495@lists.php.net to get a copy of this message | ||
Al wrote:
The proper way to handle special control PCRE characters like "\" is to use the hex [e.g., \x5C] value. Then you won't have a problem. The engine knows you want the the object treated as a character and an a control.That works nicely, thank you.