'Check for the correct spelling of ``coala`` in the file.'

def run(self, filename, file):

    corrected = []
    for line in file:
        wrong_spelling = 'C([oO][aA][lL][aA])'
        corrected += [re.sub(wrong_spelling, (lambda match: ('c' + match.group(1))), line)]
    diffs = Diff.from_string_arrays(file, corrected).split_diff()
    for diff in diffs:
        (yield Result(self, '``coala``    is    always    written    with    a    lower    case    ``c``', affected_code=(diff.range(filename),), diffs={filename: diff}, severity=RESULT_SEVERITY.MAJOR))
