Browse Source

Merge pull request #6 from elatov/master

update regex to allow for urls with equal signs
Steve Kemp 10 months ago
parent
commit
a52cd8e7be
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)
 
 
 			//
 			//