On 15/9/2006, at 15:26, Andreas Pardeike wrote:
[...] So a block starts either as '%keyword_and_more {' or as '% keyword_and_more\n{' and always ends in '%}'.
Is it possible to define this? I assume that I need to define two rule sets to simulate the two states and then either start in state A or B and do the recursion within each set. Right?
Yes, that would be the way to handle this, i.e. split the match, which goes over two lines, into a begin/end with a nested begin/end for the second line.