Fix XML exporter tests (again)
Refactor RegexLinkExtractor