Re: Preg_match() regex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, April 21, 2006 10:44 am, Jeff wrote:
> Regex pattern question here.  I need to match on "Foo-F00", "Foo-foo",
> "foo-Foo".  I know in perl you can use the /i to specify "case
> insensitive" matching.  Is there any such switch that can be used in
> preg_match() in PHP?

If you go to the http://php.net/preg_match page, and then on the left
in the navigation you'll see an outline of subjects.

>From any function in the manual, it's always a Good Idea to also read
the General Topic which is its "parent" in that outline.

If you do so, you will, almost-for-sure, soon find that there is an
entire page of the manual devoted to answering questions like this
one.

Hope that helps.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux