jQuery.highlightRegex
jQuery.highlightRegex copied to clipboard
Ignore accents
Hello,
Is there a way to ignore accents while highlighting ?
ex : la pâté c'est bon
I would like to highlight pâté when searching for pate
Thank you !!!
@vwasteels No, you need to include it in the RegExp yourself. However, if you're using a keyword highlighter, then you can use such options. An example would be mark.js. However, as mentioned it only supports keywords, not RegExp if you like to use the diacritics option.
@julmot thanks for your quick answer, I will check this soon :)