Skip to content

Commit

Permalink
elliotchance#184: panic: could not match regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
vikor committed Jul 20, 2017
1 parent b772f12 commit 20b5dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ast/deprecated_attr.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type DeprecatedAttr struct {

func parseDeprecatedAttr(line string) *DeprecatedAttr {
groups := groupsFromRegex(
`<(?P<position>.*)> "(?P<message1>.*?)"(?P<message2> ".*?")?`,
`<(?P<position>.*)> (.*)"(?P<message1>.*?)"(?P<message2> ".*?")?`,
line,
)

Expand Down

0 comments on commit 20b5dfb

Please sign in to comment.