#NEWLINE# def __findPlaceholder( self , data , index ) : #NEWLINE# #INDENT# '\n        Extract id from data string, start from index\n\n        Keyword arguments:\n\n        * data: string\n        * index: index, from which we start search\n\n        Returns: placeholder id and string index, after the found placeholder.\n\n        ' #NEWLINE# m = self . __placeholder_re . search ( self , index ) #NEWLINE# if m : #NEWLINE# #INDENT# return ( m . group ( 1 ) , m . end ( ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( None , ( index + 1 ) )