Skip to content

Commit

Permalink
chore: make license header regex more permissive (#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger authored Feb 13, 2024
1 parent 17446ed commit 7494d09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions resources/hashtag.header
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
^#!
^##{80}$
^##+$
^# Copyright \(c\) 20\d\d((,| -)20\d{2})? [A-Za-z].+\S$
^#$
^# See the NOTICE file\(s\) distributed with this work for additional$
Expand All @@ -16,5 +16,5 @@
^# under the License\.$
^#$
^# SPDX-License-Identifier: Apache\-2\.0$
^##{80}$
^##+$
^$
4 changes: 2 additions & 2 deletions resources/java.header
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
^/\*{80}$
^/\*+$
^ \* Copyright \(c\) 20\d\d((,| -)20\d{2})? [A-Za-z].+\S$
^ \*$
^ \* See the NOTICE file\(s\) distributed with this work for additional$
Expand All @@ -15,6 +15,6 @@
^ \* under the License\.$
^ \*$
^ \* SPDX-License-Identifier: Apache\-2\.0$
^ \*{80}/$
^ \*+/$
^$
^package

0 comments on commit 7494d09

Please sign in to comment.