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

Add an option to support optional regex input #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bohrshaw
Copy link
Contributor

Fix #104. This should support more flexibility in customisation. With
this option enabled, input text not matching '^[vVmM].' are still
treated literal.

Prefix input text with '\v', '\m' or '\M' to turn on "regex mode".

This doesn't break search of "literal text" whose length is less than 3.
Because only text matching '^\\[vVmM].' are not literal any more, which
is identical to what "literal text" means in Vim search pattern starting
with '\V'.

Systemic adjustments are needed for utilizing "regex mode", which is
better to be served by the author.

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

Successfully merging this pull request may close these issues.

Support regex input
2 participants