Excerpt | ||
---|---|---|
| ||
matches(value, regExp) Tests whether a value matches a regular expression. |
Function: matches()
Tests whether a value matches a regular expression or a list of regular expressions. If a list of regular expressions is supplied, the index in that list for the first matching regular expression is returned; if no matches are found, the function returns 0.
...