Returns true iff "\\c" is a supported escape sequence.
| 7996 | |
| 7997 | // Returns true iff "\\c" is a supported escape sequence. |
| 7998 | bool IsValidEscape(char c) { |
| 7999 | return (IsAsciiPunct(c) || IsInSet(c, "dDfnrsStvwW")); |
| 8000 | } |
| 8001 | |
| 8002 | // Returns true iff the given atom (specified by escaped and pattern) |
| 8003 | // matches ch. The result is undefined if the atom is invalid. |
no test coverage detected