RE: [PHP] still not friends with RegExps..

From: Date: Tue, 15 May 2001 20:11:58 +0000
Subject: RE: [PHP] still not friends with RegExps..
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-52921@lists.php.net to get a copy of this message
If you intend on using regex's intensively (or at all really) do yourself a favor and get mastering regular expressions from o'reilly...it has more than you'll probably care to know at first, but so many good examples, and such a detailed analysis, that you'll become really comfortable and won't playing the guessing that i for one used to... -jack -----Original Message----- From: Gyozo Papp [mailto:pgerzson@freestart.hu] Sent: Tuesday, May 15, 2001 4:04 PM To: php-general@lists.php.net Subject: Re: [PHP] still not friends with RegExps.. Ok, now it's time to get familiar with preg? If this stands, can you give me a link to a good tutorial with tons of examples beside the PHP manual? The most effective way to learn is to see how it works, I think. ----- Original Message ----- From: "CC Zona" <cczona@nospam.invalid> To: <php-general@lists.php.net> Sent: 2001. május 15. 21:43 Subject: Re: [PHP] still not friends with RegExps.. > In article <00c301c0dd69$a64de040$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. > > -- > 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 > -- 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

« previous php.general (#52921) next »