match-pattern(a, b)
|
Group |
Returns true if the regular expression b matches the text a.
Examples
|
Parameter a |
Parameter b |
Result |
|
ABCabc |
^\w+$ |
true |
|
ABCabc |
^\d+$ |
false |
|
ABCabc |
^[A-z]+$ |
true |
|
ABCabc |
^[A-Z]+$ |
false |