Open aGIToz opened 1 year ago
At present the command "/" mode of VIT can only handle STRING. But it would be cool if I one can use regular expressions, just like in normal Vi/Vim.
Example: in Vi, I can use /B[o|a]bo to search for the word Bobo and Babo. But in VIT it rather considers B[o|a]bo as a string.
P.S: The original motivation came, when I was not able to do a case insensitive search in command "/" mode of VIT. Any help would be appreciated here.
I'd consider a PR for this, no interest in working on it myself w/o sponsorship.
Guessing it would be fairly straightforward, with the possible complication of how to best handle any needed escape sequences.
At present the command "/" mode of VIT can only handle STRING. But it would be cool if I one can use regular expressions, just like in normal Vi/Vim.
Example: in Vi, I can use /B[o|a]bo to search for the word Bobo and Babo. But in VIT it rather considers B[o|a]bo as a string.
P.S: The original motivation came, when I was not able to do a case insensitive search in command "/" mode of VIT. Any help would be appreciated here.