in reply to Re: regexp: non-capturing grouping in replacement possible?
in thread regexp: non-capturing grouping in replacement possible?
does not do anything. it is probably me but I don't see it.$str =~ s/(?=hello kitty )(\d+)/sprintf "%d", $1/e;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: regexp: non-capturing grouping in replacement possible?
by happy.barney (Friar) on Nov 26, 2009 at 13:27 UTC | |
by moritz (Cardinal) on Nov 26, 2009 at 14:23 UTC | |
by diweooy (Novice) on Nov 26, 2009 at 14:26 UTC |