Welcome Guest, Not a member yet? Register   Sign In
Routes regular expression
#2

[eluser]cinoob[/eluser]
I've managed to get it to work with

Code:
$route['events/(?!index)([A-Za-z+]+)/(\d+)'] = "events/details/$1";

Should be fine for just about everything I need but this will still match an event with a name beginning with index. Does anyone know how to exclude all instances of index including the beginning of the string?


Messages In This Thread
Routes regular expression - by El Forum - 12-29-2009, 12:42 PM
Routes regular expression - by El Forum - 12-29-2009, 02:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB