19 #ifndef PAGESPEED_KERNEL_UTIL_RE2_H_
20 #define PAGESPEED_KERNEL_UTIL_RE2_H_
24 #include "third_party/re2/src/re2/re2.h"
29 const RE2::CannedOptions posix_syntax = RE2::POSIX;
43 return re2::StringPiece(sp.data(), sp.size());
47 return StringPiece(sp.data(), sp.size());
re2::StringPiece StringPieceToRe2(StringPiece sp)
Definition: re2.h:42
StringPiece Re2ToStringPiece(re2::StringPiece sp)
PAGESPEED_KERNEL_UTIL_RE2_H_.
Definition: re2.h:46
re2::StringPiece Re2StringPiece
namespace re2
Definition: re2.h:32