On 9/6/05, Cabbar Duzayak <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a regular expression check as:
>
> preg_match("/$xyz/", $data, $matches);
>
> And, as you know $xyz means "string starts with xyz".
No it doesn't - "string starts with xyz" would be "/^xyz/" which
coincidentally avoids your
Cabbar Duzayak wrote:
I have a regular expression check as:
preg_match("/$xyz/", $data, $matches);
And, as you know $xyz means "string starts with xyz". But somehow PHP
5 is interpreting this as variable xyz, and gives the notice below.
You can ignore the message, but now it matches everything
Hi,
I have a regular expression check as:
preg_match("/$xyz/", $data, $matches);
And, as you know $xyz means "string starts with xyz". But somehow PHP
5 is interpreting this as variable xyz, and gives the notice below.
You can ignore the message, but now it matches everything that has
xyz, i.e.
3 matches
Mail list logo