added regex support to stringassert