Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    $all =~ /^ ($nosep*) $nosep*? ( $sep \1 $nosep*? )+ $/x;
    
    print "solution: '$1'";