标签: antlr antlr4
我想匹配此字符串:ab.cd is,但它不符合 Ant如果我将is更改为=,则可以匹配ab.cd =。
ab.cd is
is
=
ab.cd =
path : PATHS 'is' ; PATHS : FIELD('.'FIELD)*; fragment INT : '0'..'9'+ ; FIELD : ('0'..'9'|'a'..'z'|'A'..'Z')+|'*'|INT;