adds a regex engine