(self, data, index)
Extract id from data string, start from index

        Keyword arguments:

        * data: string
        * index: index, from which we start search

        Returns: placeholder id and string index, after the found placeholder.
Extract id from data string, start from index
Extract id from data string start from index
def __findPlaceholder(self, data, index):
        """
        Extract id from data string, start from index

        Keyword arguments:

        * data: string
        * index: index, from which we start search

        Returns: placeholder id and string index, after the found placeholder.
        
        """
        m = self.__placeholder_re.search(data, index)
        if m:
            return m.group(1), m.end()
        else:
            return None, index + 1
def __findPlaceholder ( self , data , index ) : m = self . __placeholder_re . search ( data , index ) if m : return m . group ( 1 ) , m . end ( ) else : return None , index + 1