We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea54283 commit 7bb77c0Copy full SHA for 7bb77c0
build/update-license.go
@@ -54,7 +54,7 @@ var (
54
55
// this regexp must match the entire license comment at the
56
// beginning of each file.
57
- licenseCommentRE = regexp.MustCompile(`(?s)^/\*\s*(Copyright|This file is part of) .*?\*/\n*`)
+ licenseCommentRE = regexp.MustCompile(`^//\s*(Copyright|This file is part of).*?\n(?://.*?\n)*\n*`)
58
59
// this text appears at the start of AUTHORS
60
authorsFileHeader = "# This is the official list of go-ethereum authors for copyright purposes.\n\n"
0 commit comments