Use a simplier regex for test file by file extension.