regular expression, generator