From 878710dd3fd6f1c4d16b92f5b6fd6fab14af6abd Mon Sep 17 00:00:00 2001 From: timb Date: Sat, 17 Oct 2015 20:33:03 -0700 Subject: oops, fix jollo sally regex --- js/clipboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/clipboard.js b/js/clipboard.js index 63225d7..9c3b1b2 100644 --- a/js/clipboard.js +++ b/js/clipboard.js @@ -297,7 +297,7 @@ var clipboard = (function () { } function sally_url_convert(url){ - var png_regex = /$https?:\/\/jollo\.org\/den\/sallies\/([0-9]+)\/([^.]+)\.png^/ + var png_regex = /^https?:\/\/jollo\.org\/den\/sallies\/([0-9]+)\/([^.]+)\.png$/ var matches = url.match(png_regex) if (!matches) return url return 'http://jollo.org/den/sallies/' + matches[1] + '/raw-' + matches[2] + '?.txt' -- cgit v1.2.3-70-g09d2