in reply to Re: regex greediness
in thread regex greediness

Nice! I like your use of ?|. I similarly ended up using an OR-ed expression in the last part, but a bit different since the real strings had some other baggage.