Lines Matching refs:string
8 #include <string>
17 LITERAL, // Matches exactly the contents of the string.
19 PATH_BOUNDARY // '/' or beginning of string.
22 Subrange(Type t, const std::string& l = std::string())
35 return 0; // Can match beginning or end of string, which is 0 len.
44 std::string literal;
47 Pattern(const std::string& s);
50 // Returns true if the current pattern matches the given string.
51 bool MatchesString(const std::string& s) const;
55 // matches at the beginning or end of the string.
56 bool RecursiveMatch(const std::string& s,
81 bool MatchesString(const std::string& s) const;