in reply to Why multiline regex doesn't work?

Thanks to all for very helpful comments.

AnomalousMonk - thanks for very good note about turning on warnings and ambiguous '$.' - this cleared things out.