Hi,
yes, the FOREACH block will skip the second line because it starts with
a whitespace. All normal matching condition will ignore it, too.
Ruta applies a coverage based (in)visibility concept and this
implementation need to able to handle overlapping annotations in a
symmetric way.
In
Hi!
I’m struggling a bit with the usage of ForEach blocks. I’ve written a few rules
for structure looking like this:
Document{-> RETAINTYPE(BREAK)};
DECLARE BR;
"\\r?\\n" -> BR;
DECLARE Line;
"[^\\r\\n]+" -> Line;
Line{->SHIFT(Line,1,2)} BR;
DECLARE Empty_Line;
"\\r?\\n[ ]*(\\r?\\n)" ->