Fix the build on REGEX