You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/syntax/parsing.adoc
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,24 +6,27 @@
6
6
This page provides a general overview of how Cypher parses an input `STRING`.
7
7
8
8
The Cypher parser takes an arbitrary input `STRING`.
9
-
While the syntax of Cypher is described in subsequent chapters, the following details the general rules on which characters are considered valid input.
9
+
This page details the general rules on which characters are considered valid input.
10
10
11
11
== Using unicodes in Cypher
12
+
12
13
Unicodes can generally be escaped as `\uxxx`.
14
+
For example, the below query uses the Unicode `u00B0` to search for any recipe descriptions containing the degree symbol, `º`:
15
+
16
+
.Using Unicodes in `STRING` matching
17
+
[source, cypher]
18
+
----
19
+
MATCH (r:Recipe)
20
+
WHERE r.description CONTAINS "\u00B0"
21
+
RETURN r
22
+
----
13
23
14
24
Additional documentation on escaping rules for `STRING` literals, names and regular expressions can be found here:
0 commit comments