Skip to content

Conversation

@matriv
Copy link
Contributor

@matriv matriv commented Oct 2, 2020

Use triple double quotes enclosing a string literal to interpret it
as unescaped, in order to use ? for marking query params and avoid
user confusion. ? also usually implies regex expressions.

Any character inside the """ beginning-closing markings is considered
raw and the only thing that is not permitted is the """ sequence itself.
If a user wants to use that, needs to resort to the normal " string literal
and use proper escaping.

Relates to #61659

(cherry picked from commit d87c2ca)

Use triple double quotes enclosing a string literal to interpret it
as unescaped, in order to use `?` for marking query params and avoid
user confusion. `?` also usually implies regex expressions.

Any character inside the `"""` beginning-closing markings is considered
raw and the only thing that is not permitted is the `"""` sequence itself.
If a user wants to use that, needs to resort to the normal `"` string literal
and use proper escaping.

Relates to elastic#61659

(cherry picked from commit d87c2ca)
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-ql (:Query Languages/EQL)

@elasticmachine elasticmachine added the Team:QL (Deprecated) Meta label for query languages team label Oct 2, 2020
@matriv matriv merged commit 7d74fb8 into elastic:7.x Oct 2, 2020
@matriv matriv deleted the backport-62539 branch October 2, 2020 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/EQL EQL querying backport Team:QL (Deprecated) Meta label for query languages team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants