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