Check out a userscript which highlights deleted posts.
GitHub
79623721
Date:
2025-05-15 15:36:27
Score:
1
Natty:
Report link
You can just use the r flag:
$newstring = $oldstring =~ s/foo/bar/gr;
Reasons:
Low length (1.5):
No code block (0.5):
High reputation (-1):
Posted by:
Steve Waring