Help for this page

Select Code to Download


  1. or download this
    $pattern =~
        /
    ...
            (X*\.?\!?)          # Zero or more Xs, and maybe a . or !
            $
        /gx;
    
  2. or download this
    use strict;
    use warnings;
    ...
    unlike( '', $regex, 'Invalid empty string' );
    # etc.