Changes between Initial Version and Version 1 of Ticket #6934


Ignore:
Timestamp:
Apr 2, 2008, 12:12:52 AM (17 years ago)
Author:
Malcolm Tredinnick
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 Owner changed from nobody to Malcolm Tredinnick
    • Property Triage Stage UnreviewedAccepted
    • Property Summary [PATCH] django.core.urlresolvers.reverse fails sometimes.django.core.urlresolvers.reverse fails sometimes.
  • 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