Re: eregi() not doing what I think it'a meant to...
| From: | Daniel Vesma | Date: | Mon, 03 Jul 2000 18:29:17 +0000 |
| Subject: | Re: eregi() not doing what I think it'a meant to... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4548@lists.php.net to get a copy of this message | ||
> I think you are confusing the argument order. The first argument is the
> regular expression. The second is the string that regex will be applied
> to.
>
> So, you are effectively asking if the regex "Neil" matches the string
> "ei", which it doesn't.
>
> You probably want to swap your arguments.
Wonderful. Thank you.
Daniel Vesma - IT and Webdesign Manager
The Web Tree: http://www.thewebtree.com