Here document: Difference between revisions

Content added Content deleted
(added langur language example)
Line 933: Line 933:


=={{header|langur}}==
=={{header|langur}}==
{{works with|langur|0.6}}

Use a block modifier on a string literal using the q or Q form. The block modifier must be the last modifier.
Use a block modifier on a string literal using the q or Q form. The block modifier must be the last modifier.


Line 940: Line 942:
END</lang>
END</lang>


We can also use this with a regex literal. Note that this does not make the regex "free-spacing."
We can also use this with a regex literal. Note that this does not make the regex pattern "free-spacing."


<lang langur>val .s = re:block END
<lang langur>val .s = re:block END