Home | History | Annotate | Download | only in src

Lines Matching refs:escaped

190 // Returns true iff the given atom (specified by escaped and pattern)
192 bool AtomMatchesChar(bool escaped, char pattern_char, char ch) {
193 if (escaped) { // "\\p" where p is pattern_char.
278 // expression. The regex atom is defined as c if escaped is false,
285 bool escaped, char c, char repeat, const char* regex,
302 if (str[i] == '\0' || !AtomMatchesChar(escaped, c, str[i]))
321 const bool escaped = *regex == '\\';
322 if (escaped)
329 escaped, regex[0], regex[1], regex + 2, str);
334 return (*str != '\0') && AtomMatchesChar(escaped, *regex, *str) &&