]> git.lyx.org Git - lyx.git/commit
FindAdv: Use stdregex to handle case-insensitivity (if regex is used)
authorKornel Benko <kornel@lyx.org>
Sun, 27 Dec 2020 11:01:23 +0000 (12:01 +0100)
committerKornel Benko <kornel@lyx.org>
Sun, 27 Dec 2020 11:01:23 +0000 (12:01 +0100)
commit3736bee4b7f1f3cbdd5799107c819f22ce0fe3b1
treeeb2d412a8726ddb6af671774475df5118012c637
parent05210519385f56427cc0ebf1dbd4c9207e17d6f1
FindAdv: Use stdregex to handle case-insensitivity (if regex is used)

For search we used to lowercase for everything, but sonce the regex itself
should be left unchanged, this change was needed.
Works nice with ASCII, but fails miserably on on other UTF8 points (like Cyrillic chars)
src/lyxfind.cpp