Can any one plz tell me the difference between the two links
urls = (
'appx/(.+)', 'foo1',
'appy/(.*)', 'foo2'
)
class foo1:
def GET(self,name):
#Some code
return
As much as I can dig from the documentation ... each ( ) can handle a
variable
for eg appx/Bob will populate name with with Bob
how do (.+) and (.*) differ in behaviour
Cheers
PK
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/webpy/-/hD8-pnnJBtoJ.
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/webpy?hl=en.