https://bugzilla.wikimedia.org/show_bug.cgi?id=29371

--- Comment #2 from Brion Vibber <[email protected]> 2011-06-13 17:25:25 UTC 
---
Looks like the actual highlighting is passed through from jquery.suggestions to
jquery.autoEllipsis through to jquery.highlightText where a regex is used:

    // TODO - need to be smarter about the character matching here. 
    // non latin characters can make regex think a new word has begun. 
    // look for an occurence of our pattern and store the starting position
    var pos = node.data.search( new RegExp( "\\b" + $.escapeRE( pat ), "i" ) );

Looks like the \b (word break) gets confused at the 'Ö' despite being a legit
word character. WTF? :(

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to