From 4097a8331613b6c48e790ecfe19e4d7db6b4e645 Mon Sep 17 00:00:00 2001 From: Kyle Date: Mon, 29 Jan 2024 02:23:01 +0800 Subject: [PATCH] Add 2024 add a accept year number --- bin/check-source | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/check-source b/bin/check-source index 26717a7d..71c6889f 100755 --- a/bin/check-source +++ b/bin/check-source @@ -18,7 +18,7 @@ here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" function replace_acceptable_years() { # this needs to replace all acceptable forms with 'YEARS' - sed -e 's/20[12][7890123]-20[12][890123]/YEARS/' -e 's/20[12][890123]/YEARS/' + sed -e 's/20[12][78901234]-20[12][8901234]/YEARS/' -e 's/20[12][8901234]/YEARS/' } printf "=> Checking for unacceptable languageā€¦ "