<?xml version="1.0"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<article xmlns="http://docbook.org/ns/docbook">
  <section ID="various_type_sof_literal_blocks">
    <sectioninfo/>
    <title>Various type sof literal blocks</title>
    <para>Paragraph:</para>
    <literallayout>Literal block, where \ are preserved.

</literallayout>
    <para>Paragraph: </para>
    <literallayout>Literal block

Which may also contain multiple lines,
            where
                    indentation
      should be maintained.

</literallayout>
    <para>Paragraph:</para>
    <literallayout>Literal block

    Do handle all types of special characters, just as they are, like those tokenizer regular expressions:

    array (
      1 =&gt; '(\A(?P&lt;value&gt;[ \t]+))S',
      2 =&gt; '(\A(?P&lt;value&gt;\r\n|\r|\n))S',
      4 =&gt; '(\A(?P&lt;value&gt;([!"#$%&amp;\'()*+,./:;&lt;=&gt;?@[\]^_`{|}~-]|\xe2\x80\xa2|\xe2\x80\xa3|\xe2\x81\x83)\2*))S',
      3 =&gt; '(\A(?P&lt;value&gt;\\))S',
      5 =&gt; '(\A(?P&lt;value&gt;(?: [^`*_\\[\]|()"\':.\r\n\t ]|[^`*_\\[\]|()"\':.\r\n\t ])+))S',
    )

</literallayout>
    <para>John Doe wrote:</para>
    <literallayout>&gt;&gt; Great idea!
&gt;
&gt; Why didn't I think of that?

</literallayout>
    <para>You just did!  ;-)</para>
  </section>
</article>
