which is kinda unweildly and will only get worse the more adapters I add - it also misses .Zip files which might be relevant for people.
I don't think there's really a common use case where this case sensitivity is wanted, but it's probably too late to change now because of backwards compatibility.
So it would be great if there was either of these options:
--pre-regex to allow supplying a rust regex for extensions. This would be the most flexible.
--pre-iglob akin to --iglob does exactly what it says.
Currently, --pre-glob is case sensitive. Since I (and I guess most people) want case insensitive matching, my command line looks like this:
"rg" "--no-line-number" "--smart-case" "--pre" "rga-preproc" "--pre-glob" "*.{mkv,MKV,mp4,MP4,avi,AVI,epub,EPUB,odt,ODT,docx,DOCX,fb2,FB2,ipynb,IPYNB,pdf,PDF,zip,ZIP,tgz,TGZ,tbz,TBZ,tbz2,TBZ2,gz,GZ,bz2,BZ2,xz,XZ,zst,ZST,tar,TAR,db,DB,db3,DB3,sqlite,SQLITE,sqlite3,SQLITE3}" "foo"
which is kinda unweildly and will only get worse the more adapters I add - it also misses
.Zip
files which might be relevant for people.I don't think there's really a common use case where this case sensitivity is wanted, but it's probably too late to change now because of backwards compatibility.
So it would be great if there was either of these options:
--pre-regex
to allow supplying a rust regex for extensions. This would be the most flexible.--pre-iglob
akin to--iglob
does exactly what it says.--pre-glob-case-insensitive
boolean flag