Help for this page

Select Code to Download


  1. or download this
    #!perl
    use strict;
    ...
    }
    print YAPE::Regex::Explain->new('&[^(amp;)|(lt;)|(gt;)]')->explain;
    print convert($str),"\n";
    
  2. or download this
    my %htm = (
     '&' => '&',
    ...
    $str =~ s/$REx/$htm{$1}/g;
    print $str."\n\n";
    print YAPE::Regex::Explain->new($REx)->explain;