-
is there a way to add a flag to ignore case (example: grep --ignore-case "blah" file) to the match regex flag. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Since the value you provide is passed to the Go function
Tested, it works. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the tip! |
Beta Was this translation helpful? Give feedback.
Since the value you provide is passed to the Go function
regexp.Compile
, you can use the following trick:cat urls.txt | httpx -mr "(?i)whatever"
cat urls.txt | httpx -mr "(?i)(something|blablabla|guess what)"
Tested, it works.
https://github.com/google/re2/wiki/Syntax