rnett/Find Regex
Finds a regex match from given sources
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| regex | The regex to look for | yes | — |
| files | Files to check | no | "" |
| commands | Commands to run and check output. Only ran if not found in files | no | "" |
| require-match | Whether to error if no match. Outputs '' if no match and not required | no | true |
| group | The match group to output, or 0 for the entire match | no | 1 |
| ignore-case | Whether regex should ignore case | no | true |
| multiline | Whether to use multiline regex | no | false |
Outputs
| name | description |
|---|---|
| match | The match or match group |