Changes between Initial Version and Version 1 of Ticket #6934


Ignore:
Timestamp:
04/02/2008 12:12:52 AM (7 years ago)
Author:
mtredinnick
Comment:

This is a dupe of #2977, amongst others. But I'll leave it open because the patch is an interesting approach. I really need to finish fixing this, so maybe this will get me motivated.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6934

    • Property Patch needs improvement set
    • Property Needs tests unset
    • Property Summary changed from [PATCH] django.core.urlresolvers.reverse fails sometimes. to django.core.urlresolvers.reverse fails sometimes.
    • Property Owner changed from nobody to mtredinnick
    • Property Needs documentation unset
    • Property Triage Stage changed from Unreviewed to Accepted
  • Ticket #6934 – Description

    initial v1  
    77...django.core.urlresolvers.reverse will fail, because of following reasons:
    88
    9 - To replace the groups re.sub with r'\(([^)]+)\)' is used, which matches only until the first ')', doesn't matter how much groups are nested.
     9- To replace the groups re.sub with {{{r'\(([^)]+)\)'}}} is used, which matches only until the first ')', doesn't matter how much groups are nested.
    1010- All groups which are no named groups are assumed to be positional groups, regardless if they might be not-matching, look-ahead or look-behind groups.
Back to Top