isMatch.php
Table of Contents
Functions
- isMatch() : string
- Returns an AQL expression that checks if the left string matches the right regular expression.
Functions
isMatch()
Returns an AQL expression that checks if the left string matches the right regular expression.
isMatch(mixed $leftOperand, mixed $rightOperand) : string
Equivalent to the ArangoDB =~ regular expression match operator.
Example:
"foo" =~ "^f[o].$"returnstrue"bar" =~ "^f[o].$"returnsfalse
Parameters
- $leftOperand : mixed
-
The string value or expression to test.
- $rightOperand : mixed
-
The regular expression pattern.
Tags
Return values
string —The AQL predicate string.