django.core.urlresolvers.reverse_helper doesn't support full regex syntax
|Reported by:||forest@…||Owned by:||jacob|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
reverse_helper doesn't support the full syntax offered by the Python re module. Actually, it probably can't support everything.
(Opinion: parsing regexes is difficult and dangerous; are you sure you want to do that?)
Here is my example that failed:
The current implementation does not pretend to support nested parentheses. I am slightly skeptical that this approach can deal well with the trailing ? above.