Improved matching for region files

I used the re.match function to make sure it doesn't accidentally pick up
region files which the user tried to ignore by renaming them