'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.'

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))
