Browse Source

update regex to allow for urls with equal signs

Karim Elatov 10 months ago
parent
commit
be9505e8ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rss2hook.go

+ 1 - 1
rss2hook.go

@@ -73,7 +73,7 @@ func loadConfig(filename string) {
 			//
 			//
 			// Otherwise find the feed + post-point
 			// Otherwise find the feed + post-point
 			//
 			//
-			parser := regexp.MustCompile("^(.*)=([^=]+)")
+			parser := regexp.MustCompile("^(.+?)=([^=].+)")
 			match := parser.FindStringSubmatch(tmp)
 			match := parser.FindStringSubmatch(tmp)
 
 
 			//
 			//