jQuery.highlightRegex icon indicating copy to clipboard operation
jQuery.highlightRegex copied to clipboard

Ignore accents

Open vwasteels opened this issue 8 years ago • 2 comments

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 avatar May 05 '17 09:05 vwasteels

@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.

julkue avatar May 05 '17 09:05 julkue

@julmot thanks for your quick answer, I will check this soon :)

vwasteels avatar May 05 '17 11:05 vwasteels