in reply to Re: Re: Re: Path to enlightment
in thread Path to enlightment

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")

Replies are listed 'Best First'.
Re: useless o modifier (Re: Path to enlightment)
by KM (Priest) on Jan 24, 2001 at 00:12 UTC
    Whoops, you are correct. The /o would be a no-op. This is what happens when you are doing ten things at once :)

    Cheers,
    KM