delegateas/ExpressionEngine

Negative numbers are not parsed correctly

Closed this issue ยท 2 comments

@mul(10,-1) are not parsed correctly and the same string is returned, i.e. the parsing is incomplete.

  • Fix parsing of negative numbers
  • Add functionality to throw errors when parsing is incomplete

Incomplete parsing
How do we detect incomplete parsing? An exception shouldn't be thrown just because no expression is in the input string, but if a string contains the @{ and no } or if there's an error in-between, should an exception be thrown?

๐ŸŽ‰ This issue has been resolved in version 3.2.1-dev.1 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

๐ŸŽ‰ This issue has been resolved in version 4.0.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€