rg/-e PATTERN
-e PATTERN, --regexp=PATTERN- A pattern to search for. This option can be provided multiple times, where all patterns given are searched, in addition to any patterns provided by
-f/--file. Lines matching at least one of the provided patterns are printed. This flag can also be used when searching for patterns that start with a dash. - For example, to search for the literal -foo:
- You can also use the special -- delimiter to indicate that no more flags will be provided. Namely, the fol‐
lowing is equivalent to the above:
- When
-f/--fileor-e/--regexpis used, then ripgrep treats all positional arguments as files or directoriesto search.
- A pattern to search for. This option can be provided multiple times, where all patterns given are searched, in addition to any patterns provided by