From d7b33c27538ff3c139a3127a4a5deb8a1f5fb739 Mon Sep 17 00:00:00 2001 From: osmarks Date: Sun, 15 Mar 2020 18:36:22 +0000 Subject: [PATCH] fix regex --- experiments/infipage/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experiments/infipage/index.html b/experiments/infipage/index.html index 0e4c688..840fd81 100644 --- a/experiments/infipage/index.html +++ b/experiments/infipage/index.html @@ -98,7 +98,7 @@ url: /infipage/p var prev = document.querySelector("#prev"), next = document.querySelector("#next"), count = document.querySelector("#pagecount"), main = document.querySelector("#main"), error = document.querySelector("#error") function loadPage() { try { - var afterSlash = /infipage\/([A-Za-z0-9_=-]*)/.exec(window.location.pathname)[1] + var afterSlash = /infipage\/([A-Za-z0-9_~.:@-]*)/.exec(window.location.pathname)[1] page = decodeBignum(afterSlash) } catch(e) { console.warn("Page Number Decode Failure")