Help for this page

Select Code to Download


  1. or download this
    #! perl
    use strict;
    ...
    
    my $re = qr/(.)+/;
    print YAPE::Regex::Explain->new($re)->explain;
    
  2. or download this
    The regular expression:
    
    ...
    ----------------------------------------------------------------------
    )                        end of grouping
    ----------------------------------------------------------------------
    
  3. or download this
    /(\d)(\d)/  # Match two digits, capturing them into $1 and $2
    /(\d+)/     # Match one or more digits, capturing them all into $1
    /(\d)+/     # Match a digit one or more times, capturing the last into
    + $1