Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    my $re = presuf(@strs);
    print $re, "\n";
    # (?:aa(?:aaa(?:aa)?)?|bb(?:bb|b)?|ccc(?:cccc?)?|[abc])