Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using regular expression in the commnand "/" mode of VIT #337

Open
aGIToz opened this issue May 29, 2023 · 1 comment
Open

Using regular expression in the commnand "/" mode of VIT #337

aGIToz opened this issue May 29, 2023 · 1 comment

Comments

@aGIToz
Copy link

aGIToz commented May 29, 2023

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.

@thehunmonkgroup
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants