-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
Description
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
Reactions are currently unavailable