From 7494d097a89df90ea8e11cf9c68b70b8867e78c3 Mon Sep 17 00:00:00 2001 From: Paul Latzelsperger <43503240+paullatzelsperger@users.noreply.github.com> Date: Tue, 13 Feb 2024 14:55:55 +0100 Subject: [PATCH] chore: make license header regex more permissive (#1052) --- resources/hashtag.header | 4 ++-- resources/java.header | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/hashtag.header b/resources/hashtag.header index a6357d5b2..15b2ffccb 100644 --- a/resources/hashtag.header +++ b/resources/hashtag.header @@ -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$ @@ -16,5 +16,5 @@ ^# under the License\.$ ^#$ ^# SPDX-License-Identifier: Apache\-2\.0$ -^##{80}$ +^##+$ ^$ diff --git a/resources/java.header b/resources/java.header index aea312737..c099ca0e1 100644 --- a/resources/java.header +++ b/resources/java.header @@ -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$ @@ -15,6 +15,6 @@ ^ \* under the License\.$ ^ \*$ ^ \* SPDX-License-Identifier: Apache\-2\.0$ -^ \*{80}/$ +^ \*+/$ ^$ ^package