// Extension method. Skip an escapable character, or one normal character public static void SkipEscapableChar(this StringScanner p, bool ExtraMode) { if (p.current == '\\' && IsEscapableChar(p.CharAtOffset(1), ExtraMode)) { p.SkipForward(2); } else { p.SkipForward(1); } }