@classmethod
def apply_filter_regexp(cls, queryset, options, value):
    """Apply `reexp` filter.

         Syntax:

            /endpoint/?field_name__regexp={regexp}

        Example:

            http://localhost:8000/api/users/?age__regexp=1[6-9]
            http://localhost:8000/api/users/?age__regexp=2.*

        :param queryset: Original queryset.
        :param options: Filter options.
        :param value: value to filter on.
        :type queryset: elasticsearch_dsl.search.Search
        :type options: dict
        :type value: str
        :return: Modified queryset.
        :rtype: elasticsearch_dsl.search.Search
        """
    return cls.apply_filter(queryset=queryset, options=options, args=[
        'regexp'], kwargs={options['field']: value})
