Re: Pattern Matching

From: Date: Wed, 15 Jul 2009 11:21:42 +0000
Subject: Re: Pattern Matching
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-295405@lists.php.net to get a copy of this message
On Wed, Jul 15, 2009 at 3:24 AM, VamVan<vamseevan@gmail.com> wrote: > contact/me - Contact US > > perfect match would be easy because I can exactly look for what I want. > > It becomes tricky when I introduce wild cards like contact/* for example. It > could also be contact/me/* > > How would I match patterns for this kind of relative matches.? Any ideas > anyone? Use preg_match function to do that.

« previous php.general (#295405) next »