You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The url regex at time of writing is (https?://.*?)/(\w+)$. The last segment is required to be only word characters, which, notably, excludes hyphens and other symbols that are perfectly valid in URLs. In particular, I always generate a UUID for my ntfy topics, which have a dash in them. Swapping out \w for . would do, or if you really want to be precise, the valid characters for a url path, except for slash, are [-a-zA-Z0-9()@:%_\+.~#?&=].
The text was updated successfully, but these errors were encountered:
The url regex at time of writing is
(https?://.*?)/(\w+)$
. The last segment is required to be only word characters, which, notably, excludes hyphens and other symbols that are perfectly valid in URLs. In particular, I always generate a UUID for my ntfy topics, which have a dash in them. Swapping out\w
for.
would do, or if you really want to be precise, the valid characters for a url path, except for slash, are[-a-zA-Z0-9()@:%_\+.~#?&=]
.The text was updated successfully, but these errors were encountered: