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

Commit

Permalink
update regex to allow for urls with equal signs
Browse files Browse the repository at this point in the history
  • Loading branch information
elatov committed Jan 21, 2024
1 parent 6645b0a commit be9505e
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 be9505e

Please sign in to comment.