Commits

Anonymous committed 3ab4b53

Changed route parsing order. Moved regex to the front since it has more important characters than the others. For example the .{0,10} repleating/length regex gets replaced by the curly processor even though it should be.

  • Participants
  • Parent commits 3e432fb

Comments (0)

Files changed (1)

File src/wheezy/routing/config.py

 assert curly_patterns
 
 route_builders = [
+    try_build_regex_route,
     try_build_plain_route,
     try_build_choice_route,
     try_build_curly_route,
-    try_build_regex_route
 ]