Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from elatov/master
Browse files Browse the repository at this point in the history
update regex to allow for urls with equal signs
  • Loading branch information
skx committed Jan 21, 2024
2 parents 6645b0a + be9505e commit a52cd8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rss2hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func loadConfig(filename string) {
//
// Otherwise find the feed + post-point
//
parser := regexp.MustCompile("^(.*)=([^=]+)")
parser := regexp.MustCompile("^(.+?)=([^=].+)")
match := parser.FindStringSubmatch(tmp)

//
Expand Down

0 comments on commit a52cd8e

Please sign in to comment.