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.
有没有办法在 Grammar-kit 中进行负前瞻?
示例:我定义了两个标记 A 和 B,并且希望定义匹配 A 的规则,如果它后面没有 B。
我试图在这个语法中找到它,但我无法阅读它。
Grammar-Kit 基于 PEG(Parsing Expression Grammars)。
&XXX
!XXX