Knetic / govaluate

Arbitrary expression evaluation for golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error about escaping character on Linux

IdaZ1234567 opened this issue · comments

There is one error message I will not see on Windows but will encounter if I run the code on Linux.

When I write the expression "[a]/[b]", on Linux system it will return the error: Invalid token: '/[' which will be fixed if I add space beside the /. But on Windows system, "[a]/[b]" actually works fine.

What could be the reason that causes this error only occur on Linux?

Thanks.