You can also use $a, $b, $whatever to match any sequence of
alphanumeric chars

On Oct 23, 10:54 pm, JorgeRpo <[email protected]> wrote:
> cool
>
> I am not that into reg exp.
>
> Nice feature.
>
> On Oct 23, 10:46 pm, mdipierro <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to