restored the re2 code and removed extra arguments for stubs.cpp

- restored the original re2 code from google
- compile stubs.cpp with the same warnings/errors arguments as re2
111.03.01