simplify_regex only removes some metacharacters from regex patterns
Input Pattern | Expected Output | Actual Output
|
r'^\b(?P<slug>\w+)\B' | /<slug> | /\b<slug>\B
|
r'\Ab/\Z' | /b/ | /\Ab/\Z
|
Change History
(12)
Triage Stage: |
Unreviewed → Accepted
|
Version: |
3.1 → master
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Patch needs improvement: |
set
|
Owner: |
changed from Rohith P R to Nick Pope
|
Patch needs improvement: |
unset
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
PR