On Fri, Oct 23, 2009 at 11:00 PM, mdipierro <mdipie...@cs.depaul.edu> wrote:
> > You can also use $a, $b, $whatever to match any sequence of > alphanumeric chars > which has the obvious limitation of $whatever not being able to match ${what}ever (to borrow shell syntax), so be aware that if you need that you can revert to REGEX syntax (or submit a patch to add shell syntax grouping ;-)). - Yarko > > On Oct 23, 10:54 pm, JorgeRpo <jorgeh...@gmail.com> wrote: > > cool > > > > I am not that into reg exp. > > > > Nice feature. > > > > On Oct 23, 10:46 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > there is something new in trunk that I forgot to mention. > > > > > I get annoyed by things like this in routes (not readable) > > > > > routes_in=[('/(?P<a>.*)','/myapp/\g<a>')] > > > > > so now you can do > > > > > routes_in=[('/$anything','/myapp/$anything')] > > > > > $anything is a keyword that matches everything until the end of the > > > incoming URL. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---