Re: fail on preg_match_all
| From: | Robin Vickery | Date: | Thu, 21 Feb 2008 13:17:07 +0000 |
| Subject: | Re: fail on preg_match_all | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269781@lists.php.net to get a copy of this message | ||
On 21/02/2008, Nathan Rixham <nrixham@gmail.com> wrote:
> The regex looks incorrect to me in a few places:
> -\d+] {1,4}
> for example.
That's ok, albeit confusing:
* The ']' is a literal ']' not the closing bracket of a character class.
* The {1,4} applies to the space character.
-robin