Describe the bug
Escaped variables not handled correctly.
To Reproduce
The following code evaluates to "b":
var variables = new Dictionary<string, object>()
{
{ @"[a]", "a" },
{ @"\a\", "b" }
};
var expression = new Expression(@"[\[a\]]");
Console.WriteLine(expression.Evaluate(variables));
Expected behavior
The expected result would be "a".
Platform:
- OS: .NET Core 3.1 on Windows
Describe the bug
Escaped variables not handled correctly.
To Reproduce
The following code evaluates to
"b":Expected behavior
The expected result would be
"a".Platform: