in reply to Re: Unexpected results from a regex replacement
in thread Unexpected results from a regex replacement

Good thought, but that is not the case. I am deleting the comment tags after every run.

Here is the original code copied/pasted directly from one of my pages:
<cfmail to="#to_address#" .... </cfmail>
Now, I just ran the script again and got (again, copied directly from the page after the script ran):
<!--- <!--- <!--- <!--- <!--- <!--- <!--- <!--- <!--- <!-- +- <!--- <!--- <!--- <!--- <!--- <!--- <!--- <!--- <!--- <!--- <!--- < +!--- <!--- <!--- <!--- <cfmail to="#to_address#" ..... </cfmail> ---> ---> ---> ---> ---> ---> ---> --->