from typing import Any
import re


def regular_expression(check_value: Any, item: Any) -> bool:
    """Run a regular expression search given a regex and item to search.

    :param check_value: Regular expression.
    :type check_value: Any
    :param item: Item to search against.
    :type item: Any
    :return: Bool of comparison.
    :rtype: bool
    """
    return bool(re.search(check_value, str(item)))