On 8. Oct 2006, at 22:53, sam aaron wrote:
The YAML grammar use begin/end rules and inside those, your rules are not active.
That's interesting, so there's no possibility of overriding the YAML rules if I include them with one of my patterns?
Nope.
Interestingly, even if I don't include the YAML rules, I still have the issues I explained previously: [...]
You did not provide any sample document, but it appears to me that what you want is for the different rules to overlap, i.e. match the same characters in the document.
This is not how the parser works. When one rule has matched a portion of the text, no other rules can match that text.