http://www.perlmonks.org?node_id=168508


in reply to Re: self limiting regex help
in thread self limiting regex help

Eureka! I was just attempting to do something similar, but had discovered that \n doesn't work in a character class.

Thank you (and everyone who responded) very much for your help!