RegexEscape
Not available in this language yet.
Not available in this language yet.
RegexEscape( value )
RegexEscape( value )
Not available in this language yet.
Not available in this language yet.
RegexEscape( value )
Not available in this language yet.
Description
The RegexEscape
function returns an escaped regular expression that
matches the value
string verbatim. The returned regular expression is
simply the value
string surrounded by the \Q
and \E
escape
sequences.
Parameters
Argument | Type | Definition and Requirements |
---|---|---|
|
The string to convert to an escaped regular expression. |
Examples
The following query converts a string into an escaped regular expression:
Not available in this language yet.
Not available in this language yet.
System.out.println(
client.query(
RegexEscape(".Fa*[un]a{1,}")
).get()
);
client.query(
q.RegexEscape('.Fa*[un]a{1,}')
)
.then((ret) => console.log(ret))
Not available in this language yet.
Not available in this language yet.
println(Await.result(
client.query(
RegexEscape(".Fa*[un]a{1,}"),
),
5.seconds
))
Not available in this language yet.
"\Q.Fa*[un]a{1,}\E"
\Q.Fa*[un]a{1,}\E
"\Q.Fa*[un]a{1,}\E"
Was this article helpful?
We're sorry to hear that.
Tell us how we can improve!
documentation@fauna.com
Thank you for your feedback!