diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2018-01-04 15:59:04 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2018-01-05 21:33:53 +0100 |
commit | c3827a910617fd333a7b6f97c601796a46c2a2cf (patch) | |
tree | c7ed44fff824dbd1feb3a7634a064a9077e7016e /build-aux/update-copyright | |
parent | 603289eaa0782703a16499900bc488a56fcbcf12 (diff) | |
download | gnulib-c3827a910617fd333a7b6f97c601796a46c2a2cf.tar.gz |
update-copyright: Handle use of ©
* build-aux/update-copyright ($circle_c_re): Update regex to
handle use of © in headers.
Diffstat (limited to 'build-aux/update-copyright')
-rwxr-xr-x | build-aux/update-copyright | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build-aux/update-copyright b/build-aux/update-copyright index 5b11e306cd..ab29c633cf 100755 --- a/build-aux/update-copyright +++ b/build-aux/update-copyright @@ -3,7 +3,7 @@ eval '(exit $?0)' && eval 'exec perl -wS -0777 -pi "$0" "$@"' if 0; # Update an FSF copyright year list to include the current year. -my $VERSION = '2017-09-13.06:45'; # UTC +my $VERSION = '2018-01-04.14:48'; # UTC # Copyright (C) 2009-2018 Free Software Foundation, Inc. # @@ -81,6 +81,7 @@ my $VERSION = '2017-09-13.06:45'; # UTC # B. (c) # C. @copyright{} # D. © +# E. © # # 4. The "Copyright" appears at the beginning of a line, except that it # may be prefixed by any sequence (e.g., a comment) of no more than @@ -124,7 +125,7 @@ use strict; use warnings; my $copyright_re = 'Copyright'; -my $circle_c_re = '(?:\([cC]\)|@copyright\{}|\\\\\(co|©)'; +my $circle_c_re = '(?:\([cC]\)|@copyright\{}|\\\\\(co|©|©)'; my $holder = $ENV{UPDATE_COPYRIGHT_HOLDER}; $holder ||= 'Free Software Foundation, Inc.'; my $prefix_max = 5; |