make soundness check aware of 2023 (#378)

Motivation:

Soundness check currently fails for copyright statements including 2023
as the year

Modifications:

add '3' to the checking regex

Result:

Soundness checks should not fail for documents created this year

Co-authored-by: Cory Benfield <lukasa@apple.com>
This commit is contained in:
Rick Newton-RogersandCory Benfield authored and GitHub committed 2023-03-03 05:53:01 -08:00
1 parent 38feec96bc
commit 312fb6813f
1 file changed
+1 -1
+1 -1
View File
@@ -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][78901]-20[12][89012]/YEARS/' -e 's/20[12][89012]/YEARS/'
sed -e 's/20[12][78901]-20[12][890123]/YEARS/' -e 's/20[12][890123]/YEARS/'
}
printf "=> Checking linux tests... "