Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所有,这里是语法:
columnName (',' columnName)* -> ^(SM_TOK columnName)
我希望“ A,B ”的输出具有多个SM_TOK节点,例如:(SM_TOK A) (SM_TOK B)
但是,目前,我只有:(SM_TOK A)
似乎“B”将被忽略。
谁能帮我解决这个语法?
谢谢!
您的左侧指定了一项或多项columnName,但右侧仅提及一项。尝试添加一个+,像这样:
columnName
+
columnName (',' columnName)* -> ^((SM_TOK columnName)+)