def t_ANY_STRING(self, t):
escaped = <NUM_LIT:0><EOL>t.lexer.lineno += t.value.count('<STR_LIT:\n>')<EOL>s = t.value[<NUM_LIT:1>:-<NUM_LIT:1>]<EOL>new_str = "<STR_LIT>"<EOL>for i in range(<NUM_LIT:0>, len(s)):<EOL><INDENT>c = s[i]<EOL>if escaped:<EOL><INDENT>if c == '<STR_LIT:n>':<EOL><INDENT>c = '<STR_LIT:\n>'<EOL><DEDENT>elif c == '<STR_LIT:t>':<EOL><INDENT>c = '<STR_LIT:\t>'<EOL><DEDENT>new_str += c<EOL>escaped = <NUM_LIT:0><EOL><DEDENT>else:<EOL><INDENT>if c == '<STR_LIT:\\>':<EOL><INDENT>escaped = <NUM_LIT:1><EOL><DEDENT>else:<EOL><INDENT>new_str += c<EOL><DEDENT><DEDENT><DEDENT>indentation_str = '<STR_LIT:U+0020>' * _indent_level_to_spaces_count(self.cur_indent)<EOL>lines_without_indentation = [<EOL>line.replace(indentation_str, '<STR_LIT>', <NUM_LIT:1>)<EOL>for line in new_str.splitlines()]<EOL>t.value = '<STR_LIT:\n>'.join(lines_without_indentation)<EOL>return t<EOL>
r'\"([^\\"]|(\\.))*\