test of regular expression