actions-ecosystem/Actions Ecosystem Action Regex Match
Match a input text with a input regex.
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Jul 13, 2026
- Maintenance Recency
- Stalelast commit Apr 30, 2023
- License
- Apache 2.0
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-ecosystem/action-regex-match@9e6c4fb3d5e898f505be7a1fb6e7b0a278f6665b # v2.0.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| text | A text as the target for inputs.regex. | yes | — |
| regex | A regex for inputs.text. Supports capturing groups. | yes | — |
| flags | Flags for inputs.regex. e.g.) 'g', 'gm' | no | — |
Outputs
| name | description |
|---|---|
| match | The whole matched text. If the inputs.regex doesn't match inputs.text, this value is ''. |
| group1 | The 1st captured group. |
| group2 | The 2nd captured group. |
| group3 | The 3rd captured group. |
| group4 | The 4th captured group. |
| group5 | The 5th captured group. |
| group6 | The 6th captured group. |
| group7 | The 7th captured group. |
| group8 | The 8th captured group. |
| group9 | The 9th captured group. |