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


in reply to Re: Is there a Limit on Matching .*
in thread Is there a Limit on Matching .*

That did it. Thank you everyone! Also, thanks for the tip on the input separator. The HTML files are being generated by RoboHELP and the tags are consistently lowercase. The insensitive match is more of a habit than anything else. I think I should take that out of this script for effeciency.