diff --git a/src/lib/util.ts b/src/lib/util.ts index 4284cc3c0..ba10dbbeb 100644 --- a/src/lib/util.ts +++ b/src/lib/util.ts @@ -13,7 +13,7 @@ export function pickNotNil(object: { [prop: string]: unknown }) { return result; } -export const idPattern = /#([^)]+)\)?$/; +export const idPattern = /#([^)]+)'?\)?$/; export const getRandomNumber = () => Math.floor(Math.random() * Math.floor(Math.random() * Date.now()));