This function returns true
, if the given text matches the regular expression, otherwise returns false
.
matches(text, regexp) #Output: Boolean
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 7 Next »
This function returns true
, if the given text matches the regular expression, otherwise returns false
.
matches(text, regexp) #Output: Boolean
Parser expression | Description |
---|---|
matches("readme.txt", ".*\\.txt$") | This example returns a boolean value : |
matches("Jira Workflow Toolbox", "[JWT].+") | This example returns true |
matches("Admin Toolbox", "[JWT].+") | This example returns false |
Parameters used in this function
Parameter | Input (data type) | Description |
---|---|---|
text | TEXT | Any given text. |
regexp | TEXT | A valid regeular expression that will check the given text, if it matches. |
This function returns a BOOLEAN
Powered by Atlassian Confluence 8.5.7, themed by Refined 7.5.3 and Decadis AG