a regular expression problem
lookon
areyoulookon at gmail.com
Fri Oct 10 06:58:08 EDT 2008
More information about the Python-list mailing list
Fri Oct 10 06:58:08 EDT 2008
- Previous message (by thread): Home Shop 18 - Zenith Desktop Model No: G31645
- Next message (by thread): a regular expression problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I want to use django to dispatch url. The url is like /test/Google/6,and my patten is r'^/test/(?P<q>\b\W+ \b)/(?P<h>\d+)$'. It works when the string is English(like Google), but fails when the string is in foreign language. Can anyone tell me the righ regular expression? Thank you!
- Previous message (by thread): Home Shop 18 - Zenith Desktop Model No: G31645
- Next message (by thread): a regular expression problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list