Changed default regex

Changed the regex so it matches when .torrent is at the end of the string