'Process string with inline patterns and replace it
with placeholders
Keyword arguments:
* data: A line of Markdown text
* patternIndex: The index of the inlinePattern to start with
Returns: String with placeholders.'

def __handleInline(self, data, patternIndex=0):

    if (not isinstance(data, util.AtomicString)):
        startIndex = 0
        while (patternIndex < len(self.inlinePatterns)):
            (data, matched, startIndex) = self.__applyPattern(self.inlinePatterns.value_for_index(patternIndex), data, patternIndex, startIndex)
            if (not matched):
                patternIndex += 1
    return data
