Construct a regexp match (``~``) filter.  Combine with ``not_`` method to construct a negative regexp match (``!~``) filter.

        :param value: Filter value
        :param ignorecase: If bool `True`, make match case insensitive (``~*``, ``!~*``)
        :return: :class:`filters.Field <filters.Field>` object
        :rtype: filters.Field

def match(self, value, ignorecase=False):
        """Construct a regexp match (``~``) filter.  Combine with ``not_`` method to construct a negative regexp match (``!~``) filter.

        :param value: Filter value
        :param ignorecase: If bool `True`, make match case insensitive (``~*``, ``!~*``)
        :return: :class:`filters.Field <filters.Field>` object
        :rtype: filters.Field
        """
        if not ignorecase:
            self.op = '~'
            self.negate_op = '!~'
        else:
            self.op = '~*'
            self.negate_op = '!~*'
        self.value = self._value(value)
        return self