Antonio Pérez wrote: > On Tue, Aug 26, 2008 at 8:43 PM, Alvaro Lopez Ortega <[EMAIL PROTECTED]> > wrote: > >>> I only want that a request like this: >>> "http://localhost/tag/this_is_a_tag/" matches this rule, but this one: >>> "http://localhost/tag/this_is_a_tag/and_other/" matches too!. >>> >>> What I'm doing wrong?. >> You have to add a $ at the end of the regular expression: >> >> ^/tag/(.+)?/$ > > No, because I don't want that > "http://localhost/tag/this_is_a_tag/and_other/" match rule... and I > don't want this. The regular expression should stop at the first "/", > doesn't it?.
I see; then something like this would work: ^/tag/([^\/]+)?/$ -- Greetings, alo http://www.alobbs.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
