in reply to Re: regexp: non-capturing grouping in replacement possible?
in thread regexp: non-capturing grouping in replacement possible?
$str =~ s/^(hello kitty )0*(\d+)(x\d+.*)$/$1$2$3/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: regexp: non-capturing grouping in replacement possible?
by happy.barney (Friar) on Nov 26, 2009 at 16:14 UTC |