text: // Copyright 2016 The RE2 Authors.  All Rights Reserved.
  // Use of this source code is governed by a BSD-style
  // license that can be found in the LICENSE file.
  
  #ifndef UTIL_STRUTIL_H_
  #define UTIL_STRUTIL_H_
  
  #include <string>
  
  #if COCOAPODS==1
    #include  "third_party/re2/re2/stringpiece.h"
  #else
    #include  "re2/stringpiece.h"
  #endif
  #if COCOAPODS==1
    #include  "third_party/re2/util/util.h"
  #else
    #include  "util/util.h"
  #endif
  
  namespace re2 {
  
  std::string CEscape(const StringPiece& src);
  void PrefixSuccessor(std::string* prefix);
  std::string StringPrintf(const char* format, ...);
  
  }  // namespace re2
  
  #endif  // UTIL_STRUTIL_H_
  