corePlugins.filter_download.RegEx wasn't honoring case-insensitivity

pattern.match doesn't accept flags as second arg. Fix it using flags in re.compile.