The variable $second cd be pointing to an invalid pattern. Could you verify ?
On 4/20/05, RahilQ <qamar_rahil@xxxxxxxxxxx> wrote:
> Hi
>
> I get a fatal error when I try to execute the match() function in the form
>
> matches($first, $second, 'i').
>
> I know the problem is becoz of the $second that I pass as the second
> argument. If I change this expression to
>
> matches($first, 'test', 'i')
>
> it executes fine.
>
> Is there a way to allow a variable to be passed in the second argument
> of matches() ?
>
> Thanks
> Rahil
>
>
--
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
-Ramkumar Menon
A typical Macroprocessor
| Current Thread |
|
Ramkumar Menon - 20 Apr 2005 16:28:41 -0000 <=
Michael Kay - 20 Apr 2005 18:41:51 -0000
RahilQ - 21 Apr 2005 09:06:50 -0000
|
|