def METHOD_NAME(self, pattern):
    try:
        return re.compile(''.join(pattern), re.IGNORECASE)
    except Exception:
        raise DataError("Compiling embedded arguments regexp failed: %s"
                        % get_error_message())