Hi,
I need to recursively match pairs of { }. In the process I encountered a
bug when trying to forget the inverse using the <./ ...> syntax.
my $gb=do {
use Regexp::Grammars;
qr{<debug: on>
<[brb]>
<rule: brb> <.br> (<[sc=([^{}]*)]>? <[brb]>?)* <./br>
<token: br> \{
}xms;
};
does not work. <./RULE> is not matching, neither is </.RULE>.
Ingo
PS: On a general note, the documentation would greatly benefit when the
examples were more eloquent with input->code->result. At the moment it
is really hard to get started, at least it was for me.