$grammar = q { dollar : /\\$/ { $item[1] } }; #### $grammar = <<'__END_OF_GRAMMAR__'; dollar : /\$/ { $item[1] } __END_OF_GRAMMAR__