Rewriting (X+)? as X* in ANTLR grammars

后端 未结 0 1469
没有蜡笔的小新
没有蜡笔的小新 2020-12-11 23:38

At https://github.com/antlr/grammars-v4

I\'m finding lots of instances of (X+)?.

Shouldn\'t these be replaced with X*?

Here ar

相关标签:
回答
  • 消灭零回复
提交回复
热议问题