1 // Copyright 2016 The RE2 Authors. All Rights Reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 #ifndef UTIL_STRUTIL_H_ 6 #define UTIL_STRUTIL_H_ 7 8 #include <string> 9 10 #include "re2/stringpiece.h" 11 #include "util/util.h" 12 13 namespace re2 { 14 15 std::string CEscape(const StringPiece& src); 16 void PrefixSuccessor(std::string* prefix); 17 std::string StringPrintf(const char* format, ...); 18 19 } // namespace re2 20 21 #endif // UTIL_STRUTIL_H_ 22