Improve the `<FilesMatch>` regular expressions

Add missing file extensions and avoid, where possible, repeating things.