in reply to m modifier not doing what I'm expecting?

You also want the /g modifier.  (/m alone matches from the beginning every time, thus the endless loop...)

Replies are listed 'Best First'.
Re^2: m modifier not doing what I'm expecting?
by ultranerds (Hermit) on Dec 21, 2011 at 12:28 UTC
    Aaah thanks - so was just missing the /g ... works like a charm now. Thanks!

    Andy