Double quotes in string literal are escaped
Closed this issue · 2 comments
StrekoZ commented
Describe the bug
When trying to add a quote inside string \"
, it's got replaced to \\\"
To Reproduce
Execute in FEEL playground
string length("\"") - string length(x)
with a context
{ "x": "\"" }
Expected behavior
Expected that length for both strings is equal (difference is 0)
Environment
- FEEL engine version: [1.17]
- Same is when using feel-scala dependency in a project
- Connector with Camunda
8.3.4
: camunda/connectors#1432
StrekoZ commented
This place seems suspicious: https://github.com/camunda/feel-scala/pull/763/files#r1428154128
However issue also is reproducable in older version of FEEL Playgound: https://camunda.github.io/feel-scala/docs/playground/ (1.16 and 1.15 as well)