Skip to content

Expression building failing with leading numbers in variable name #109

@apoorv-28

Description

@apoorv-28

Expression : 1*2a

Error: Unknown function or variable 'a' at pos 3 in expression '1*2a'

Code:

val map = Map("2a" -> 0.1)
val expressionBuilder = new ExpressionBuilder("1*2a")
  .variables(map.keys.toList: _*)
  .build

Is this not supported or is it a probable bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions