Re: Preg_match() regex

From: Date: Fri, 21 Apr 2006 20:08:17 +0000
Subject: Re: Preg_match() regex
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-234511@lists.php.net to get a copy of this message
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

« previous php.general (#234511) next »