added support for regexp
regexp test