Summary | Autocomplete.js caanot find special (accented) character matches |
Queue | Turba |
Queue Version | 3.0.10 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | viktor (at) szepe (dot) net |
Created | 02/06/2012 (4897 days ago) |
Due | |
Updated | 10/18/2012 (4642 days ago) |
Assigned | |
Resolved | 10/18/2012 (4642 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
State ⇒ Resolved
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Autocomplete.js caanot find special (accented) character matches
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ Yes
but js's .match function cannot find that, Solution:
if IsNull(n.match(re)) {
n.match(re).each(function(m) {
var idx = n.indexOf(m);
out.l += n.substr(0, idx).escapeHTML() +
'<strong>' + m.escapeHTML() + '</strong>';
n = n.substr(idx + m.length);
});
}