-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Regular expressions #20
Comments
No, you should enclose the find expression in quotes: $ f2 -f '((.*?))' -r '-' |
Thank you for your reply. I am trying to match a pair of parenthesis and everything inside it, see https://github.com/ayoisaiah/f2/wiki/Regular-expressions The above syntax will generate Your suggestion in your reply from above will generate In this case Thank you |
@zz0rk You need to escape the outer parentheses: |
f2 -f '((.*?))' -r '-' I don't know what I am doing wrong here |
You're not including the backslash: $ f2 -f '\((.*?)\)' -r '-' |
@zz0rk That's weird, I'm unable to reproduce. What version of f2 are you using? |
I'm going to close this issue, because I couldn't reproduce it on of my setups. |
Does the use of regular expressions require Go to be installed?
$ f2 -f ((.*?)) -r '-'
bash: syntax error near unexpected token `('
Thank you
The text was updated successfully, but these errors were encountered: