FALSE if it doesn’t match, or TRUE if it matches.
Syntax
Parameters
Return Type
BOOLEAN
Examples
The following code example checks whether the string123 matches either the [a-z] expression, which specifies any lowercase letter, or the [1-9]+ expression, which specifies one or more digits:
Rows: 1Execution time: 5.37ms
!@#$%^&*() matches either the \d+ expression, which specifies one or more digits, or the [a-z|A-Z]+ expression, which specifies one or more lowercase or uppercase characters:
Rows: 1Execution time: 6.33ms
a matches either the [1-9]+ expression, which specifies one or more digits, or a NULL value:
Rows: 1Execution time: 5.06ms
123 matches either the [1-9]+ expression or NULL. The function returns TRUE because the string matches the first regular expression. The NULL element does not affect the result as long as a match is found.
Rows: 1Execution time: 6.09ms