def findPattern(textLines, pattern):
    """Answers the point locations where this pattern occurs in the Formatted
    String."""
    foundPatterns = []
    for lineIndex, textLine in enumerate(textLines):
        for foundPattern in textLine.findPattern(pattern):
            foundPattern.y = textLine.y
            foundPattern.z = 0
            foundPatterns.append(foundPattern)
    return foundPatterns
