Skip to content

Commit

Permalink
chore: add regex101 comment to headers parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarneo committed Mar 16, 2022
1 parent dcc89a8 commit 4b3bf15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/headers.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
)

// This will match <first-group>:<second-group> of a header
// Test it here https://regex101.com/r/cn0QvY/1
const (
PATTERN = "([a-zA-Z0-9-]+)[^*](.*)"
)
Expand Down

0 comments on commit 4b3bf15

Please sign in to comment.