Code obtained from ------------------ https://re2.googlecode.com/files/re2-20130115.tgz Version ------- re2-20130115.tgz Changes required to build using stlport on Android as follows (full diff) ------------------------------------------------------------------------- util/util.h: 44,53c44 < #if defined(ANDROID) < < #if defined(_STLPORT_VERSION) < #include // using stlport < #else < #include // using gnustl < #endif < using std::tr1::unordered_set; < < #elif defined(__GNUC__) && !defined(USE_CXX0X) --- > #if defined(__GNUC__) && !defined(USE_CXX0X)