s!^\d+:\s+!!o;
I added the o modifier, since the pattern doesn't
change, may as well compile it once for the loop.
The o modifier is a no-op on a regex that doesn't contain any interpolated variables, BTW.
- tye (but my friends call me "Tye")In reply to useless o modifier (Re: Path to enlightment)
by tye
in thread Path to enlightment
by DrNoone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |