RE: [PHP] still not friends with RegExps..
| From: | scott [gts] | Date: | Wed, 16 May 2001 18:55:38 +0000 |
| Subject: | RE: [PHP] still not friends with RegExps.. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53093@lists.php.net to get a copy of this message | ||
yes... i agree.
if you know pregs, you have the added benefit of
knowing how to write regexps for PHP *and* perl
(should you ever have to program in perl)
i personally prefer pregs becuase i think that the
syntax is cleaner and more concise...
> -----Original Message-----
> From: Christian Reiniger [mailto:creinig@mayn.de]
> Subject: Re: [PHP] still not friends with RegExps..
>
>
> On Tuesday 15 May 2001 22:35, Gyozo Papp wrote:
> > 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.
>
> Well, actually preg is more simple IMHO :)
> Anyway - preg are the Perl-style regexps, so any perl regular expression
> documentation should be fine. Also the "preg expression syntax" page in
> the manual is very good.