def followed_by(pattern):
    """ matches if the current position is followed by the pattern

    :param pattern: an `re` pattern
    :type pattern: str

    :rtype: str
    """
    return r'(?={:s})'.format(pattern)