Add simple regular expression spec.