import re


def has_repeat_char_with_one_between(chars):
    """
    It contains at least one letter which repeats with exactly one letter
    between them, like xyx, abcdefeghi (efe), or even aaa.
    """
    if re.search(r'(\w)[^\1]\1', chars):
        return True
    return False