Hello,

I'm trying to use the "path_info" predicate with a regular expression but 
without success.
My app uses traversal and a part of his resources tree structure is 
"/presentation/test/123/".
My goal is to call a specific view only when I request the path 
"/presentation/". Then, I set "path_info" predicate for my view with the 
regular expression pattern "^/presentation/$", unfortunately it doesn't 
work.
When I use "/presentation/" regex pattern, the view is called wherever I am 
in "/presentation/test/123/". Obviously.
So, the "path_info" predicate's code seems to run well, but I cannot use 
pattern with regex symbol (^, $, \d+, etc...).
Is the syntax I used good, I missed something ? My pyramid version is the 
1.3.3.

Thanks for your help,

Fab.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pylons-discuss/-/5lhU0baW6Q8J.
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.

Reply via email to