Have you tried:
'\\' var_name:[a-z]+ '.' {
-- Markus
It fails when some preprocessing has reduced the double-\ to a single one.
In other words, it depends on the kind of heredoc. Just like in Ruby, imagine that!
Treetop's strings have the same rules for single and double quotes as the same
strings in Ruby code.
Clifford Heath.