Re: regexps
| From: | Monte Ohrt | Date: | Tue, 16 Jan 2001 22:22:35 +0000 |
| Subject: | Re: regexps | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34907@lists.php.net to get a copy of this message | ||
Most of the preg_ functions support arrays of values as input
parameters. It's all in the documentation.
"Elliot L. Tobin" wrote:
>
> Is there a way to call one regexp on multiple variables, in one statement?
> In Perl, I'd do:
>
> s/this/that for ($var1, $var2, $var3);
>
> tia.. and please reply directly.
>
> Elliot@udel.edu
>
> --
> 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
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/