in reply to Re: problem with substitute in regexp
in thread problem with substitute in regexp
While it *will* give the proper output, it's rather ugly, and would give a poor example for other initiates. I'd suggest a little tune-up:
...roboticus
When your only tool is a hammer, all problems look like your thumb.
Update: AnomalousMonk pointed out my blindness: he *is* using the capture group. D'oh!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: problem with substitute in regexp
by ansh batra (Friar) on Nov 10, 2011 at 15:38 UTC | |
by roboticus (Chancellor) on Nov 10, 2011 at 15:53 UTC |