Welcome Guest, Not a member yet? Register   Sign In
Quick regex routing question
#1

[eluser]darrenm[/eluser]
Hi there

I have controller that needs to take loads of arguments from a URL. The amount of arguments will vary.

As the URI is going to get pretty long I'm keen to lose the 'function' part of it and re-route along the lines of:

Code:
/productsearch/(varying*number*of*segments) = /productsearch/listingfunction/(*everything*)

Can anyone help me out with the regex specifics?

many thanks.


Messages In This Thread
Quick regex routing question - by El Forum - 12-01-2008, 08:18 AM
Quick regex routing question - by El Forum - 12-01-2008, 08:32 AM
Quick regex routing question - by El Forum - 12-01-2008, 08:34 AM
Quick regex routing question - by El Forum - 12-01-2008, 09:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB