ag not finding accent letters in case insensitive search explicitly with -i option
scodro opened this issue · 0 comments
scodro commented
Trying to find char ê
:
$ echo ê | ag ê # works
ê
$ echo ê | ag -i ê # does not work
$
Verifying other accent letters:
command with -i option:
for c in â ê î ô û á é í ó ú à è ì ò ù ã ẽ ĩ õ ũ ä ë ï ö ü; do echo ' testing' $c; echo 'âêîôûáéíóúàèìòùãẽĩõũäëïöü' | ag -i $c; done
output (not working):
testing â
testing ê
testing î
testing ô
testing û
testing á
testing é
testing í
testing ó
testing ú
testing à
testing è
testing ì
testing ò
testing ù
testing ã
testing ẽ
testing ĩ
testing õ
testing ũ
testing ä
testing ë
testing ï
testing ö
testing ü
command without -i option:
for c in â ê î ô û á é í ó ú à è ì ò ù ã ẽ ĩ õ ũ ä ë ï ö ü; do echo ' testing' $c; echo 'âêîôûáéíóúàèìòùãẽĩõũäëïöü' | ag $c; done
output (working):
testing â
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ê
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing î
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ô
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing û
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing á
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing é
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing í
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ó
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ú
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing à
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing è
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ì
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ò
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ù
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ã
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ẽ
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ĩ
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing õ
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ũ
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ä
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ë
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ï
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ö
âêîôûáéíóúàèìòùãẽĩõũäëïöü
testing ü
âêîôûáéíóúàèìòùãẽĩõũäëïöü
Environment information:
$ ag --version
ag version 2.2.0
Features:
+jit +lzma +zlib
$ cat /etc/lsb-release
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=22.1.0
DISTRIB_CODENAME=Talos
DISTRIB_DESCRIPTION="Manjaro Linux"
$ hostnamectl
Static hostname: manjaracer
Icon name: computer-laptop
Chassis: laptop 💻
Operating System: Manjaro Linux
Kernel: Linux 6.1.25-1-MANJARO
Architecture: x86-64
Hardware Vendor: Acer
Hardware Model: Aspire V3-571
Firmware Version: V2.11
Additional remark:
Could be related to issue #1062