in reply to Re^2: replace a digit with another digit
in thread replace a digit with another digit
(i think the /i is less efficient, too.. too many different ways to write this one)s/([a-z])([12])/ $1 . ($2 == 1 ? 2 : 1) /eig;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: replace a digit with another digit
by kevyt (Scribe) on Aug 18, 2005 at 13:45 UTC | |
by davidrw (Prior) on Aug 18, 2005 at 14:24 UTC |