in reply to why my reg ex matches greedy?
use strict; use warnings; my $str = '6AG3_608_FGG_20100124_20120923418_20126254447_201262512026. +txt'; $str =~ s/_\d{11,}//g; print $str, "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: why my reg ex matches greedy?
by Anonymous Monk on Jun 25, 2012 at 21:02 UTC | |
by McA (Priest) on Jun 25, 2012 at 21:12 UTC |