Trying to add an href filter containing URL path (/admin/sites/*/courses/42400-example-course), but it’s returning 0 results, when I use a wildcard (% or *), but when I search a specific path (/admin/sites/56306/courses/42400-example-course), it returns results. What am I doing wrong?
posthog/models/property.py
import json
from typing import Any, Dict, List, Literal, Optional, Union, cast
from django.db.models import Exists, OuterRef, Q
from posthog.utils import is_valid_regex
ValueT = Union[str, int, List[str]]
PropertyType = Literal["event", "person", "cohort", "element"]
PropertyName = str
OperatorType = Literal[
    "exact", "is_not", "icontains", "not_icontains", "regex", "not_regex", "gt", "lt", "is_set", "is_not_set",
]
class Property:
    key: str
    operator: Optional[OperatorType]
    value: ValueT
    type: PropertyType
    def __init__(
        self,
        key: str,
        value: ValueT,
        operator: Optional[OperatorType] = None,
        type: Optional[PropertyType] = None,
        **kwargs,
    ) -> None:
        self.key = key
        self.value = value
        self.operator = operator
        self.type = type if type else "event"
    def __repr__(self):