Grep¶
| Name | Mandatory | Description | Default | Type |
|---|---|---|---|---|
⬅️ Input |
The input of the shard, if any | String |
||
Output ➡️ |
The resulting output of the shard | [{Any}]None |
||
File |
No | File path to search in | none |
NoneStringVar(String) |
String |
No | Pure text string to search in (alternative to File) | none |
NoneStringVar(String) |
WorkDir |
No | Working directory for resolving relative paths | none |
NoneStringVar(String) |
CaseInsensitive |
No | Enable case-insensitive search | false |
BoolVar(Bool) |
LineNumbers |
No | Include line numbers in output | false |
BoolVar(Bool) |
BeforeContext |
No | Number of lines to show before each match | 0 |
IntVar(Int) |
AfterContext |
No | Number of lines to show after each match | 0 |
IntVar(Int) |
MultiLine |
No | Enable multi-line pattern matching | false |
BoolVar(Bool) |
InvertMatch |
No | Show lines that don't match the pattern | false |
BoolVar(Bool) |
MaxMatches |
No | Maximum number of matches to return (0 = unlimited) | 0 |
IntVar(Int) |
Search for regex pattern in file(s) using ripgrep functionality