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
$ "\u001b[95m Hello, string literals?"
error[E202]: syntax error
┌─ :1:1
│
1 │ "\u001b[95m Hello, string literals?"
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unexpected error: invalid escape character: \u
│
= see language documentation at https://vrl.dev
= try your code in the VRL REPL, learn more at https://vrl.dev/examples
as well as "-string literal with \x escape:
$ "\x33"
error[E202]: syntax error
┌─ :1:1
│
1 │ "\x33"
│ ^^^^^^ unexpected error: invalid escape character: \x
│
= see language documentation at https://vrl.dev
= try your code in the VRL REPL, learn more at https://vrl.dev/examples
Hi! Per my reading of https://vector.dev/docs/reference/vrl/expressions/#string this should work:
as well as
"
-string literal with\x
escape:Yet, both give
syntax error
in the REPL.Version
vector 0.44.0 (x86_64-unknown-linux-gnu 3cdc7c3 2025-01-13 21:26:04.735691656)
The text was updated successfully, but these errors were encountered: