1. Description
Hello! Thank you for sharing this powerful library.
When I try to use the DynamicExpressionParser.ParseLambda-function with a string value that includes escaped backslashes, it will not parse correctly, which yields unescaped output
2. Exception
There is no exception thrown. Using input
"\"\\\\192.168.1.1\\audio\\new\""
The output is:
Adding more slashes does not seem to help, for instance given this input
"\"\\\\192.168.1.1\\\audio\\new\""
the following output will be shown
As you can see it seems impossible to not escape the \a and \n. It would be great if you could have a look at this!
3. Fiddle or Project
You can see the problem on the following dotnetfidle:
https://dotnetfiddle.net/URflOo
1. Description
Hello! Thank you for sharing this powerful library.
When I try to use the
DynamicExpressionParser.ParseLambda-function with a string value that includes escaped backslashes, it will not parse correctly, which yields unescaped output2. Exception
There is no exception thrown. Using input
The output is:
Adding more slashes does not seem to help, for instance given this input
the following output will be shown
As you can see it seems impossible to not escape the
\aand\n. It would be great if you could have a look at this!3. Fiddle or Project
You can see the problem on the following dotnetfidle:
https://dotnetfiddle.net/URflOo