fedimbed: forgot insensitive on one of them
This commit is contained in:
parent
116abe3bb3
commit
60631bba37
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ const BSKY_POST_REGEX =
|
||||||
/^\/profile\/(did:plc:[a-z0-9]+|(did:web:)?[a-z0-9][a-z0-9.-]+[a-z0-9]*)\/post\/([a-z0-9]+)\/?$/i;
|
/^\/profile\/(did:plc:[a-z0-9]+|(did:web:)?[a-z0-9][a-z0-9.-]+[a-z0-9]*)\/post\/([a-z0-9]+)\/?$/i;
|
||||||
|
|
||||||
const PATH_REGEX = {
|
const PATH_REGEX = {
|
||||||
mastodon: /^\/@(.+?)\/([a-z0-9]+?)\/?/,
|
mastodon: /^\/@(.+?)\/([a-z0-9]+?)\/?/i,
|
||||||
mastodon2: /^\/(.+?)\/statuses\/([a-z0-9]+?)\/?/i,
|
mastodon2: /^\/(.+?)\/statuses\/([a-z0-9]+?)\/?/i,
|
||||||
pleroma: /^\/objects\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\/?/,
|
pleroma: /^\/objects\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\/?/,
|
||||||
pleroma2: /^\/notice\/[A-Za-z0-9]+\/?/,
|
pleroma2: /^\/notice\/[A-Za-z0-9]+\/?/,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue