Re: still not friends with RegExps..
| From: | Gyozo Papp | Date: | Tue, 15 May 2001 20:35:57 +0000 |
| Subject: | Re: still not friends with RegExps.. | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52928@lists.php.net to get a copy of this message | ||
I mean that it seems to me most of the mailers use preg funtions instead of simple ereg functions.
Up to now I used only the latter ones.
I still know where I can find documantation, I just go further and ask some link to learn more about
PCRE functions.
I'm sorry if you misunderstand it.
----- Original Message -----
From: "CC Zona" <cczona@nospam.invalid>
To: <php-general@lists.php.net>
Sent: 2001. május 15. 22:19
Subject: Re: [PHP] still not friends with RegExps..
> In article <025c01c0dd7a$3b75d320$6a45c5d5@jaguar>,
> pgerzson@freestart.hu ("Gyozo Papp") wrote:
>
> > > > There is a function quotemeta() which escapes all special regexp
> > > > character
> > > > such as:
> > > > . \ + * ? [ ^ ] ( $ )
> > > > with a '\' except one the '|' pipe.
> > >
> > > Forget quotemeta(). Use preg quote() instead.
> >
> > Ok, now it's time to get familiar with preg?
>
> No, now it's time to get familiar with the online manual
> <http://php.net/pgre-quote>, where you would quickly
> discover that
> preg_quote can be used even by somone with zero knowledge of PCRE syntax.
>
> --
> CC
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>