Hi,
I can't use [\w]{8}(-[\w]{4}){3}-[\w]{12} in add_route pattern ?
This not match :
config.add_route(
"uuid",
"/uuid/{uuid:[\w]{8}(-[\w]{4}){3}-[\w]{12}}", #
6db88d8d-63a1-4ba9-a191-518c414f4ff4
view=uuid_view
)
This match with success :
config.add_route(
"uuid",
"/uuid/{uuid:\w\w\w\w\w\w\w\w-\w\w\w\w-\w\w\w\w-\w\w\w\w-\w\w\w\w\w\w\w\w\w\w\w\w}",
# 6db88d8d-63a1-4ba9-a191-518c414f4ff4
view=uuid_view
)
I can't use [\w]{8} notation in add_route pattern ?
Regards,
Stephane
--
Stéphane Klein <[email protected]>
blog: http://stephane-klein.info
Twitter: http://twitter.com/klein_stephane
pro: http://www.is-webdesign.com
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.