camunda/feel-scala

Fail to parse expression with NBSP character

Opened this issue · 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