This function returns true, if the given text matches a regular expression, otherwise it returns false.


matches(text, regularExpression) #Output: Boolean



Parser expressionDescription


 matches("readme.txt", ".*\\.txt$")


This example returns a boolean value:

true


matches("Jira Workflow Toolbox", "[JWT].+")


This example returns a boolean value:

true


matches("Admin Toolbox", "[JWT].+")


This example returns a boolean value:

false


matches(%{issue.attachment.details}, "(.*text/plain.*){1,}")


This example returns

true

if the current issue has at least one .txt file attached. This is a perfect example for a Logical validator.

The field used in this expression is: Attachments with details



Parameters used in this function

ParameterInput (data type)Description
text

Any given text.
regularExpression

A valid regular expression that the given text will be checked against.



This function returns a  



Use cases and examples



Parser function cloudmatches()
Map(tick)
Notes






Status
Tech review

Style guide




Short description

Checks, if the given text matches the provided regular expression.

Output

Available since

Label