diff --git a/url_filter/filters.py b/url_filter/filters.py index 0b45330..0f30d0e 100644 --- a/url_filter/filters.py +++ b/url_filter/filters.py @@ -29,6 +29,8 @@ 'day': forms.IntegerField(min_value=1, max_value=31), 'month': forms.IntegerField(), 'year': forms.IntegerField(min_value=0, max_value=9999), + 'regex': forms.CharField(), + 'iregex': forms.CharField(), } LOOKUP_CALLABLE_FROM_METHOD_REGEX = re.compile(