only single repetition.
This commit is contained in:
parent
4a1d1a0dc1
commit
cebc151448
|
@ -163,7 +163,7 @@ class Router:
|
||||||
parameters.append(parameter)
|
parameters.append(parameter)
|
||||||
|
|
||||||
# Mark the whole route as unhashable if it has the hash key in it
|
# Mark the whole route as unhashable if it has the hash key in it
|
||||||
if re.search(r'(^|[^^]){1}/', pattern):
|
if re.search(r'(^|[^^]){0}/', pattern):
|
||||||
properties['unhashable'] = True
|
properties['unhashable'] = True
|
||||||
# Mark the route as unhashable if it matches the hash key
|
# Mark the route as unhashable if it matches the hash key
|
||||||
elif re.search(r'/', pattern):
|
elif re.search(r'/', pattern):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user