ANTLR grammar for reStructuredText (rule priorities)
问题 First question stream Hello everyone, This could be a follow-up on this question: Antlr rule priorities I'm trying to write an ANTLR grammar for the reStructuredText markup language. The main problem I'm facing is : "How to match any sequence of characters (regular text) without masking other grammar rules?" Let's take an example with a paragraph with inline markup: In `Figure 17-6`_, we have positioned ``before_ptr`` so that it points to the element *before* the insert point. The variable `