Lines Matching refs:RegExp
17 // RegExpCache is a simple wrapper around hash_map<> to store RegExp objects.
19 // To get a cached RegExp object for a regexp pattern string, call the
21 // a RegExp object corresponding to the pattern string doesn't already exist, it
25 // const RegExp& regexp = cache.GetRegExp("\d");
49 class RegExp;
54 typedef std::tr1::unordered_map<string, const RegExp*> CacheImpl;
56 typedef std::map<string, const RegExp*> CacheImpl;
64 const RegExp& GetRegExp(const string& pattern);