#NEWLINE# def t_start_single_quoted_q2_string( self , t ) : #NEWLINE# #INDENT# '[uU]?[rR]?"' #NEWLINE# t . lexer . push_state ( 'SINGLEQ2' ) #NEWLINE# t . type = 'STRING_START_SINGLE' #NEWLINE# if ( ( 'r' in t . value ) or ( 'R' in self . value ) ) : #NEWLINE# #INDENT# self . is_raw = True #NEWLINE# #UNINDENT# t . value = t . value . split ( '"' , 1 ) [ 0 ] #NEWLINE# return t