Mercurial > hg > octave-nkf > gnulib-hg
changeset 11592:345504ca672e
gnulib-tool: Don't use non-POSIX regexps.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Wed, 27 May 2009 13:28:27 +0200 |
parents | 8864003db422 |
children | 476a58fbc9b9 |
files | ChangeLog gnulib-tool |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-05-27 Simon Josefsson <simon@josefsson.org> + + * gnulib-tool (sed_transform_main_lib_file) + (sed_transform_testsrelated_lib_file): : Don't use non-POSIX + regexps. + 2009-05-26 Simon Josefsson <simon@josefsson.org> * tests/test-strstr.c: Add another self-test.
--- a/gnulib-tool +++ b/gnulib-tool @@ -2869,7 +2869,7 @@ sed_transform_main_lib_file=$sed_transform_main_lib_file' s/GNU Lesser General/GNU General/g s/GNU Library General/GNU General/g - s/version \(2\|2\.1\)\([ ,]\)/version 3\2/g + s/version 2\(.1\)\{0,1\}\([ ,]\)/version 3\2/g ' fi fi @@ -2881,7 +2881,7 @@ sed_transform_testsrelated_lib_file=$sed_transform_testsrelated_lib_file' s/GNU Lesser General/GNU General/g s/GNU Library General/GNU General/g - s/version \(2\|2\.1\)\([ ,]\)/version 3\2/g + s/version 2\(.1\)\{0,1\}\([ ,]\)/version 3\2/g ' fi