Home | History | Annotate | Download | only in src

Lines Matching refs:escaped

159 // Returns true iff the given atom (specified by escaped and pattern)
161 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) {
162 if (escaped) { // "\\p" where p is pattern_char.
247 // expression. The regex atom is defined as c if escaped is false,
254 bool escaped, char c, char repeat, const char* regex,
271 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i]))
290 const bool escaped = *regex == '\\';
291 if (escaped)
298 escaped, regex[0], regex[1], regex + 2, str);
303 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) &&