Add check for regexexp