Bug #708
no highlight for certain Nicks (i.e. "^V^")
Start date:
05/27/2009
Due date:
% Done:
100%
Estimated time:
Version:
0.4.1
OS:
Any
Description
how to reproduce:
- Change nick to something similar to V
- have someone ping you.
=> no highlight whatsoever.
Associated revisions
History
#1 Updated by valuial over 15 years ago
Workaround: generate a custom highlight word with regular expression ".*\^V\^.*" (or "\s?\^V\^\s" ?)
#2 Updated by valuial over 15 years ago
Seen another one today in chat: square-brackets [ and ] also break highlighting. cheers [Enrico]
#3 Updated by dalbers over 15 years ago
- File 0001-change-highlight-regexp-boundaries-from-b-to-W.patch 0001-change-highlight-regexp-boundaries-from-b-to-W.patch added
- Status changed from New to Assigned
- Assignee set to Sputnick
- % Done changed from 0 to 90
change highlight regexp boundaries from \b to \W
\b is between \w\W or \W\w, therefore doesn't match "^nickname^ something" due to "^ " being \W\W characters
#5 Updated by dalbers over 15 years ago
- Status changed from Assigned to Resolved
- % Done changed from 90 to 100
Applied in changeset e036ee9df2219667ce1cc22d42a7c50fbdf5b3ba.
change highlight regexp boundaries from \b to \W
fixes #708
\b is between \w\W or \W\w, therefore doesn't match "^nickname^ something" due to "^ " being \W\W characters