This action can be used to find occurences of a regular expression with a text.
The text in which to search for matches of the reqular expression. This input is required.
The regular expression that is used to find matched. The default value, [A-Z]+-\d+
, works
fine for JIRA issues. This input is optional.
The mode in which to run this action. Possible values are all
, unique
, and first
. They make the
action write all matches, unique matches, or only the first match to the matches
output, respectively.
The default value is unique
. This input is optional.
If set, this action only searches from the beginning of the original haystack
until the first match of
until
. This may be a regular expression. If it is not set, the entire haystack is searched. This input is optional.
A JSON list of all matches. The list is empty if there are no matches.
A boolean indicating whether any matches were found.
The example workflow in this repo shows one example of how to use this action.