Here is an example of grammar that I would like to have:
heredoc = "<<<" marker:[\w]+ "\n" text:[\s\S]+ "\n" marker {
return text.join('');
}
Right now it doesn't work but It would be nice to be able to use marker later in the rule. So I properly parse:
Here is an example of grammar that I would like to have:
Right now it doesn't work but It would be nice to be able to use
markerlater in the rule. So I properly parse: