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

[question] how does f2 distinguish regex from simple text? #1

Closed
mo-han opened this issue Mar 7, 2021 · 3 comments
Closed

[question] how does f2 distinguish regex from simple text? #1

mo-han opened this issue Mar 7, 2021 · 3 comments
Assignees
Labels
enhancement Changes to an existing feature

Comments

@mo-han
Copy link

mo-han commented Mar 7, 2021

there's neither cli option to toggle regex, nor special format in text for -f -r options, to tell if the text is regex or not
in case the text is both acceptable as regex or literal, how to ensure f2 work correctly?

@ayoisaiah
Copy link
Owner

Regex is enabled by default, and there's no way to opt out right now. However, I'm going to add an option to toggle regex off very soon

@ayoisaiah ayoisaiah self-assigned this Mar 9, 2021
@ayoisaiah ayoisaiah added the enhancement Changes to an existing feature label Mar 9, 2021
@ayoisaiah
Copy link
Owner

Fixed via 81b2f32

@ayoisaiah
Copy link
Owner

@mo-han You can enable string-literal mode with the -s or --string-mode flag.

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

No branches or pull requests

2 participants