Modify ↓
Opened 17 years ago
Closed 14 years ago
#2143 closed defect (fixed)
[Patch] Indexer _strip wrong regexp (non-ascii char issue)
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | RepoSearchPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
indexer.py line 193
_strip = re.compile(r'\w+')
must be replace _strip = re.compile('[\w_]+',re.U)
Attachments (0)
Change History (7)
comment:1 Changed 17 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 17 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
when not using re.U, non-ascii character not indexed
comment:4 Changed 15 years ago by
Owner: | changed from Alec Thomas to Ryan J Ollos |
---|---|
Status: | reopened → new |
comment:5 Changed 15 years ago by
Summary: | Indexer _strip wrong regexp → Indexer _strip wrong regexp (non-ascii char issue) |
---|
There seem to be numerous reports related to us of non-ascii characters. I will test out your fix, but could really use someone to test on their non-english installation.
comment:6 Changed 15 years ago by
Summary: | Indexer _strip wrong regexp (non-ascii char issue) → [Patch] Indexer _strip wrong regexp (non-ascii char issue) |
---|
comment:7 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
_
is already included by\w
.