From be9505e8ac1ec21aba0105e0b226d33877b7ebcf Mon Sep 17 00:00:00 2001 From: Karim Elatov Date: Sat, 20 Jan 2024 23:29:32 -0500 Subject: [PATCH] update regex to allow for urls with equal signs --- rss2hook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rss2hook.go b/rss2hook.go index 91d3469..c195bb3 100644 --- a/rss2hook.go +++ b/rss2hook.go @@ -73,7 +73,7 @@ func loadConfig(filename string) { // // Otherwise find the feed + post-point // - parser := regexp.MustCompile("^(.*)=([^=]+)") + parser := regexp.MustCompile("^(.+?)=([^=].+)") match := parser.FindStringSubmatch(tmp) //