aboutsummaryrefslogtreecommitdiffstats
path: root/osurl
diff options
context:
space:
mode:
Diffstat (limited to 'osurl')
-rwxr-xr-xosurl3
1 files changed, 3 insertions, 0 deletions
diff --git a/osurl b/osurl
index 71b0fea..9a92e2a 100755
--- a/osurl
+++ b/osurl
@@ -34,8 +34,11 @@ local patterns = {
["rhbz%SEP%NUM"] = "https://bugzilla.redhat.com/show_bug.cgi?id=%1",
["tdf%SEP%NUM"] = "https://bugs.documentfoundation.org/show_bug.cgi?id=%1",
["pep%SEP%NUM"] = "https://www.python.org/dev/peps/pep-%1",
+ ["ffn%SEP%NUM"] = "https://www.fanfiction.net/s/%1",
+ ["ao3%SEP%NUM"] = "https://archiveofourown.org/works/%1",
}
+
-- turn "foo#%BLAH" into a pattern that matches everything literally except
-- %BLAH
local makepat = Cf(