use exists to check regexpengine