Fixed regex in perl.xml.

It needed a backslash escape in front of the `^` character.
Fixes pandoc #1317.
Version bump to 0.5.8.2
Updated changelog.