What I am trying to do is grab the labels from an issue and then use regex to look for a pattern and if it is there assign the sting to a variable. As you can see below I am using a Restful call to grab an issue. I have:
parentLabels = {{webhookResponse.body.fields.labels}}
filterByRegEx = {{parentLabels.match("PI-[0-9]+-[0-9]+")}}
and as you can see below I write the values of these two vars out to the log.
The parentLabels looks good but there is nothing in filterByRegEx. I know I have a string in parentLabels as I can successfully substring out what I am looking for when I hardcode the start and end. ( I am looking for "PI-3-24")
What dumb newbie mistake have I made?

