Returns true iff "\\c" is a supported escape sequence.
| 8430 | |
| 8431 | // Returns true iff "\\c" is a supported escape sequence. |
| 8432 | bool IsValidEscape(char c) { |
| 8433 | return (IsAsciiPunct(c) || IsInSet(c, "dDfnrsStvwW")); |
| 8434 | } |
| 8435 | |
| 8436 | // Returns true iff the given atom (specified by escaped and pattern) |
| 8437 | // matches ch. The result is undefined if the atom is invalid. |
no test coverage detected