17 #ifndef LLVM_SUPPORT_REGEX_H
18 #define LLVM_SUPPORT_REGEX_H
26 template<
typename T>
class SmallVectorImpl;
90 #endif // LLVM_SUPPORT_REGEX_H
Compile for matching that ignores upper/lower case distinctions.
bool isValid(std::string &Error)
bool match(StringRef String, SmallVectorImpl< StringRef > *Matches=0)
static bool isLiteralERE(StringRef Str)
If this function returns true, ^Str$ is an extended regular expression that matches Str and only Str...
unsigned getNumMatches() const
Regex(StringRef Regex, unsigned Flags=NoFlags)
Compiles the given regular expression Regex.
std::string sub(StringRef Repl, StringRef String, std::string *Error=0)