Re: Re: Bug #1683 Updated: Failing to parse/compile a *? pattern.
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Re: Bug #1683 Updated: Failing to parse/compile a *? pattern. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-8236@lists.php.net to get a copy of this message | ||
> Ah ok, thanks. I didn't even see those in the docs. Note ereg doesn't
> also doesn't allow [.gt.] style collating patterns inside a [] character
> class. Perhaps preg will. :)
As per the docs, the ereg* functions are Posix 1003.2 compliant. You are
basically talking about non-standard Perl abberrations here. The preg*
functions were introduced to try to address some of these, but even with
these it is hard to get all the weird Perlish behaviour.
-Rasmus