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