feel-scala icon indicating copy to clipboard operation
feel-scala copied to clipboard

Fail to parse expression with NBSP character

Open saig0 opened this issue 1 year ago • 0 comments

Describe the bug The engine fails to parse an expression with a NBSP (Non-breaking Space) character.

To Reproduce Steps to reproduce the behavior:

  1. Parse an expression with a NBSP character (<0xa0>)
  2. Verify that the parsing failed
"The engine" should "evaluate expression wirth NBSP character" in {
    evaluateExpression("1 +   2") should returnResult(3)
  }

Expected behavior The engine can parse expressions with NBSP characters. It should be interpreted as whitespace.

image

Environment

  • FEEL engine version: 1.17.3
  • Affects:
    • Camunda Automation Platform 7: [7.x]
    • Zeebe broker: [0.x]
    • Support: https://jira.camunda.com/browse/SUPPORT-21217

saig0 avatar Apr 24 '24 07:04 saig0