summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Basnight <mbasnight@gmail.com>2012-02-28 10:56:54 -0800
committerMichael Basnight <mbasnight@gmail.com>2012-02-28 10:56:54 -0800
commit2922178839bc3e40d31cfb6ae4d4669bf3a73244 (patch)
tree0fea05973948bb403a0dcc63c49de93014241119
parent1c5da13b9fc227323f7023327c8c97e9f446353f (diff)
downloadroutes-2922178839bc3e40d31cfb6ae4d4669bf3a73244.tar.gz
Fixing the regex by removing an extra ?
--HG-- branch : trunk
-rw-r--r--routes/mapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/mapper.py b/routes/mapper.py
index 630933f..1f77735 100644
--- a/routes/mapper.py
+++ b/routes/mapper.py
@@ -1080,7 +1080,7 @@ class Mapper(SubMapperParent):
**route_options)
self.connect(name_prefix + name, path, **route_options)
- requirements_regexp = '[^\/]+?(?<!\\\)'
+ requirements_regexp = '[^\/]+(?<!\\\)'
# Add the routes that deal with member methods of a resource
for method, lst in member_methods.iteritems():