Hello brother monks...
I have a series of lines throughout some generated output which come in the form of:
</a> <!-- rem_me --></li> <li>
I planned on replacing all instances of the middle line:
<!-- rem_me --></li>with <ul>
One would think that in my situation this would be a simple case of:
$html =~ s/<!-- rem_me --><\/li>/<ul>/sig;But strangely this didn't work... A quick search with a hex editor shows nothing out of the ordinary... There are two 0A characters on either side of the <!-- rem_me --></li> line, which can only be attributed to the \n characters...
So what am I missing here?
Regards,
Fib Jones
In reply to Weird situation... by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |