test regular expressions