camunda / feel-scala

FEEL parser and interpreter written in Scala
https://camunda.github.io/feel-scala/
Apache License 2.0
119 stars 46 forks source link

fix: string escape characters #750

Closed nicpuppa closed 7 months ago

nicpuppa commented 8 months ago

Description

This PR changes the evaluation of escape characters within a string. Instead of escaping those characters now are translated.

Related issues

closes #701

nicpuppa commented 8 months ago

Hey @saig0 , I tried to solve the bug about the new line character. I thought that the problem involved also all the other special characters, so I changed a bit the behaviour of the engine. Please let me know your thoughts 👍 💭 🙏

saig0 commented 7 months ago

/backport

github-actions[bot] commented 7 months ago

Successfully created backport PR for 1.17:

saig0 commented 6 months ago

/backport

github-actions[bot] commented 6 months ago

Backport failed for 1.16, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 1.16
git worktree add -d .worktree/backport-750-to-1.16 origin/1.16
cd .worktree/backport-750-to-1.16
git switch --create backport-750-to-1.16
git cherry-pick -x dbef7e42c2c9c2ba59e8bd959dabe50f7c8c2c01 f1f320479a04c24e320e0b2d8a88bffa3ae31275 37c2b4b67a441b8273478837c5aa3da1c0c62ef0 ccd4e02c5a4df7a3c5431a1babf5c5a23f991117 ebdb11056b4c09ef4926a403c0b8f6ad356e85db 2c8c1b7c7ef51205535cabd29d184c2c12088da4
github-actions[bot] commented 6 months ago

Backport failed for 1.17, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 1.17
git worktree add -d .worktree/backport-750-to-1.17 origin/1.17
cd .worktree/backport-750-to-1.17
git switch --create backport-750-to-1.17
git cherry-pick -x dbef7e42c2c9c2ba59e8bd959dabe50f7c8c2c01 f1f320479a04c24e320e0b2d8a88bffa3ae31275 37c2b4b67a441b8273478837c5aa3da1c0c62ef0 ccd4e02c5a4df7a3c5431a1babf5c5a23f991117 ebdb11056b4c09ef4926a403c0b8f6ad356e85db 2c8c1b7c7ef51205535cabd29d184c2c12088da4