Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
Neo
-
1
Description
https://docs.couchbase.com/server/current/n1ql/n1ql-language-reference/comparisonops.html
"Match string with a wildcard expression. Use % for zero or more wildcards and _ to match any character at this place in a string.
The wildcard characters can be escaped by preceding them with a backslash (). Backslash itself can also be escaped by preceding it with another backslash."
This should be "characters".
Further I think this text should read something like:
"Match string with a character pattern expression. Use % to match zero or more characters and _ to match any single character at a position in the string.
The escape character may optionally be specified using the ESCAPE <character> clause after the pattern. If not specified it defaults to a backslash ().
Wildcard characters and the escape character itself can be matched as literals by preceding them with the escape character (escaping) .
An empty pattern matches only empty strings. To match any string, the pattern '%' should be used."