fourmi has asked for the wisdom of the Perl Monks concerning the following question:
s/<body.+?>/<body class="theBody">/is
insists on changing
thanks
ant
to<body><!--msnavigation-->
Any ideas why it is grabbing the comment aswell?<body class="theBody">
thanks
ant
2004-11-11 Edited by Arunbear: Changed title from 'Pattern Matching', as per Monastery guidelines
Back to
Seekers of Perl Wisdom