.htaccess and RedirectMatch

RedirectMatch permanent /~sachac/notebook/wiki/(.*).html /~sachac/notebook/wiki/$1.php

is a very funky .htaccess line that helps me deal with the Great Renaming.