Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl --
    use Regexp::English;
    ...
        ->digit, "\n";
    __END__
    (?^:((?:\d+)))
    
  2. or download this
    my( @numbers ) = $str -~  m{ (\d+) }gx;
    
  3. or download this
    use YAPE::Regex::Explain;
    print YAPE::Regex::Explain->new(
    qr{ (\d+) }x,
    ...
    ----------------------------------------------------------------------
    )                        end of grouping
    ----------------------------------------------------------------------
    
  4. or download this
    $ perl -MRegexp::Common -e " print $RE{num}{int} "
    (?:(?:[+-]?)(?:[0123456789]+))
    
  5. or download this
    #!/usr/bin/perl --
    use strict; use warnings;
    my $REint = qr{
    ...
    1
    1
    2