Merge lp:~therp-nl/openupgrade-addons/7.0-wiki-nobacktracking-regex into lp:openupgrade-addons
Proposed by
Holger Brunn (Therp)
Status: | Merged |
---|---|
Merged at revision: | 8174 |
Proposed branch: | lp:~therp-nl/openupgrade-addons/7.0-wiki-nobacktracking-regex |
Merge into: | lp:openupgrade-addons |
Diff against target: |
55 lines (+32/-8) 1 file modified
document_page/migrations/7.0.1.0.1/post-migration.py (+32/-8) |
To merge this branch: | bzr merge lp:~therp-nl/openupgrade-addons/7.0-wiki-nobacktracking-regex |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ronald Portier (Therp) | code review and test | Approve | |
Pedro Manuel Baeza | code review | Approve | |
Sandy Carter (http://www.savoirfairelinux.com) (community) | code review, no test | Approve | |
Review via email: mp+238872@code.launchpad.net |
Description of the change
This branch avoids using regexes in cases where backtracking can become so expensive that it seems like a deadlock, i.e. with
re.compile(
Note that this occurs with all regexes of this kind in the case it's a malformed wiki syntax
To post a comment you must log in.
LGTM +1