title: How to output code text with numbers using Pod::Text::Termcap?
body: <p>I am trying to use <a href="https://metacpan.org/pod/Pod::Text::Termcap" rel="nofollow"><code>Pod::Text::Termcap</code></a> to output Pod as text to a terminal window. It works mostly very well, except for one case of displaying code text using the Pod <code>C&lt;&gt;</code> tag. Usually, <code>Pod::Text::Termcap</code> displays code text in double quotes, and this is fine. But, if I write code text containing only digits or a dollar sign followed by digits, the code text is no longer quoted. For example:</p>
  
  <pre><code>use strict;
  use warnings;
  use Pod::Text::Termcap;
  
  my $pod_str = '=pod
  
  This is a quoted name C&lt;Peter&gt;. The next text:  C&lt;$1&gt; , should also be quoted.
  
  =cut';
  
  my $parser = Pod::Text::Termcap-&gt;new();
  my $str;
  $parser-&gt;output_string( \$str );
  $parser-&gt;parse_string_document( $pod_str );
  print $str;
  </code></pre>
  
  <p>The output is:</p>
  
  <blockquote>
    <p>This is a quoted name "Peter". The next text: $1 , should also be
    quoted.</p>
  </blockquote>