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.
>
> [EMAIL PROTECTED]
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Monte Ohrt <[EMAIL PROTECTED]>
http://www.ispi.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]