re2.cpp 332 B

123456789101112
  1. ///////////////////////////////////////////////////////////////
  2. // Copyright 2015 John Maddock. Distributed under the Boost
  3. // Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_
  5. //
  6. #include <re2.h>
  7. int main()
  8. {
  9. return re2::RE2::FullMatch("a", "a") ? 0 : 1;
  10. }