diff options
author | Michael Basnight <mbasnight@gmail.com> | 2012-02-28 10:56:54 -0800 |
---|---|---|
committer | Michael Basnight <mbasnight@gmail.com> | 2012-02-28 10:56:54 -0800 |
commit | 2922178839bc3e40d31cfb6ae4d4669bf3a73244 (patch) | |
tree | 0fea05973948bb403a0dcc63c49de93014241119 | |
parent | 1c5da13b9fc227323f7023327c8c97e9f446353f (diff) | |
download | routes-2922178839bc3e40d31cfb6ae4d4669bf3a73244.tar.gz |
Fixing the regex by removing an extra ?
--HG--
branch : trunk
-rw-r--r-- | routes/mapper.py | 2 |
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(): |