File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ any where true
283283[[eql-syntax-strings]]
284284==== Strings
285285
286- Strings are enclosed with double quotes (`"`).
286+ Strings are enclosed in double quotes (`"`).
287287
288288[source,eql]
289289----
@@ -322,28 +322,22 @@ double quote (`\"`) instead.
322322[[eql-syntax-raw-strings]]
323323===== Raw strings
324324
325- Raw strings are preceded by a question mark (`?`) and treat backslashes (`\`) as
326- literal characters.
325+ Raw strings treat special characters, such as backslashes (`\`), as literal
326+ characters. Raw strings are enclosed in three double quotes (`"""`) .
327327
328328[source,eql]
329329----
330- ?"String with a literal blackslash \ character included"
330+ """Raw string with a literal double quote " and blackslash \ included"" "
331331----
332332
333- You can escape double quotes (`"`) with a backslash, but the backslash remains
334- in the resulting string.
333+ A raw string cannot contain three consecutive double quotes (`"""`). Instead,
334+ use a regular string with the `\"` escape sequence .
335335
336336[source,eql]
337337----
338- ?"\" "
338+ "String containing \"\"\" three double quotes "
339339----
340340
341- [NOTE]
342- ====
343- Raw strings cannot contain only a single backslash or end in an odd number of
344- backslashes.
345- ====
346-
347341[discrete]
348342[[eql-syntax-wildcards]]
349343===== Wildcards
You can’t perform that action at this time.
0 commit comments