I am learning Google App Engine in Python.
Here is my problem:
I want the visitor to visit my website in the following format,
hxxp://www.example.com/wiki/A_Example_Title
The variable after /wiki/ only contains alphabets and underscore.
application = webapp.WSGIApplication([
('/wiki/??????', wikipage),
What should the ???? part be?
Thanks a lot!
try one of these:
Your spec said ‘alphabets and underscore’ — this one gets that and numbers as well:
…if you really don’t want numbers in there, use this:
The characters captured by that regex will be passed as a parmeter to your
wikipageget()handler.