Perl 5 module to rewrite text using regexp-based rules
