We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
表达式语法检查错误,"OR(1<2, 2>3)" 语法检查正确,"or(1<2, 2>3)" 语法检查错误。
private boolean syntaxCheck(String express){ try { ExpressRunner runner = new ExpressRunner(false, true); DefaultContext<String, Object> context = new DefaultContext<>(); InstructionSet set = runner.parseInstructionSet(express); } catch (Exception e) { return false; } return true; }
[{ "value_of_expectation": true, "formula":"OR(1<2, 2>3)" }, { "value_of_expectation": true, "formula":"or(1<2, 2>3)", "remark": "小写的or会存在误判" }]
The text was updated successfully, but these errors were encountered:
[
v3.3.3 没有复现
Sorry, something went wrong.
or(1<2, 2>3)
<QLExpress.version>3.2.2</QLExpress.version>
or(1<2, 2>3) <QLExpress.version>3.2.2</QLExpress.version>
`@Test public void syntaxCheck(){
syntaxCheck("or(1<2, 2>3)"); } private boolean syntaxCheck(String express){ try { ExpressRunner runner = new ExpressRunner(false, true); DefaultContext<String, Object> context = new DefaultContext<>(); InstructionSet set = runner.parseInstructionSet(express); } catch (Exception e) { e.printStackTrace(); return false; } return true; }`
No branches or pull requests
表达式语法检查错误,"OR(1<2, 2>3)" 语法检查正确,"or(1<2, 2>3)" 语法检查错误。
The text was updated successfully, but these errors were encountered: