Should this be `preview\..*`? Or, since you're using `re.match`, why not just `preview\.`?