Modify ↓
#11707 closed defect (fixed)
Backlinks for Unicode page name
Reported by: | Owned by: | jomae | |
---|---|---|---|
Priority: | normal | Component: | BackLinksMacro |
Severity: | normal | Keywords: | unicode regex regexp |
Cc: | Trac Release: | 1.0 |
Description
Pages with unicode (non-ASCII) name are not matched (filtered out) when testing with regex.
Patch file attached. (test with r13390)
Attachments (1)
Change History (5)
Changed 11 years ago by
Attachment: | macro.py.patch added |
---|
comment:1 Changed 11 years ago by
Owner: | changed from Trap to Ryan J Ollos |
---|---|
Status: | new → accepted |
comment:2 Changed 11 years ago by
comment:4 Changed 11 years ago by
Owner: | changed from Ryan J Ollos to jomae |
---|
Note: See
TracTickets for help on using
tickets.
It seems
backlinks_page
should be escaped in regular expression, e.g.Languages/C++
.backlinks/macro.py
re.search(r'\b%s\b' % backlinks_page,text):