*Slaps hand to forehead* I should have known there'd be a module to handle this! Although, having looked at the module documentation, I have to admit I never would have come up with your solution. None of my books have anything about using the substitution regexp with two sets of braces. Thanks for the help - it ran perfectly!
pc88mxr:
Thanks for the explanation! Now it all makes sense. At one point I tried a while <SOURCE> loop but it wasn't working so I abandoned that and went with what (little) I know. I'm going to go back and play with this some more so I understand the concept.
Thank you both for helping me add another tool to my toolkit!
In reply to Re^2: Matching multiple digits
by skoney
in thread Matching multiple digits
by skoney
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |