I thought that by using the slurp mode, I could essentially edit the file in place without having to create a temporary file.No, that is unsound. You can corrupt your log files. Consider:
In reply to Re^3: Pimp My RegEx
by eyepopslikeamosquito
in thread Pimp My RegEx
by heathen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |