new support for simple regex