Skip to content

Instantly share code, notes, and snippets.

@Karalix
Created November 19, 2020 11:41
Show Gist options
  • Save Karalix/a23db78a64b33f3995957cf9dd196ccb to your computer and use it in GitHub Desktop.
Save Karalix/a23db78a64b33f3995957cf9dd196ccb to your computer and use it in GitHub Desktop.
Regex ranges for accent and case insensitive search
a : [À-Åà-åĀ-ąǍǎǞ-ǡǺ-ǻȀ-ȃȦȧȺɐ-ɒḀḁẚẠ-ặ]
b : [ßƀ-ƅɃɓḂ-ḇ]
c : [çÇĆ-čƆ-ƈȻȼɔḈḉ]
d : [ÐðĎ-đƉ-ƍȡɖɗḊ-ḓ]
e : [È-Ëè-ëĒ-ěƎ-ƐǝȄ-ȇȨȩɆɇɘ-ɞḔ-ḝẸ-ệ]
f : [ƑƒḞḟ]
g : [Ĝ-ģƓǤ-ǧǴǵḠḡ]
h : [Ĥ-ħƕǶȞȟḢ-ḫẖ]
i : [Ì-Ïì-ïĨ-ıƖƗǏǐȈ-ȋɨɪḬ-ḯỈ-ị]
j : [ĴĵǰȷɈɉɟ]
k : [Ķ-ĸƘƙǨǩḰ-ḵ]
l : [Ĺ-łƚȴȽɫ-ɭḶ-ḽ]
m : [Ɯɯ-ɱḾ-ṃ]
n : [ÑñŃ-ŋƝƞǸǹȠȵɲ-ɴṄ-ṋ]
o : [Ò-ÖØò-öøŌ-őƟ-ơǑǒǪ-ǭǾǿȌ-ȏȪ-ȱṌ-ṓỌ-ợ]
p : [ƤƥṔ-ṗ]
q : []
r : [Ŕ-řƦȐ-ȓɌɍṘ-ṟ]
s : [Ś-šƧƨȘșȿṠ-ṩ]
t : [Ţ-ŧƫ-ƮȚțȾṪ-ṱẗ]
u : [Ù-Üù-üŨ-ųƯ-ƱǓ-ǜȔ-ȗɄṲ-ṻỤ-ự]
v : [ƲɅṼ-ṿ]
w : [ŴŵẀ-ẉẘ]
x : [Ẋ-ẍ]
y : [ÝýÿŶ-ŸƔƳƴȲȳɎɏẎẏỲ-ỹỾỿẙ]
z : [Ź-žƵƶɀẐ-ẕ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment