]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Wed, 11 Jun 1997 20:19:30 +0000 (20:19 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 11 Jun 1997 20:19:30 +0000 (20:19 +0000)
old/sh-utils/ChangeLog

index 2bbede2801e660bfe8054b5d8ca65c6c9270dd1a..857d992d2fb4dbbd8a4fef7051a516807611eb66 100644 (file)
@@ -1,3 +1,11 @@
+Wed Jun 11 15:13:56 1997  Jim Meyering  <meyering@na-net.ornl.gov>
+
+       * src/expr.c (docolon): Test (re_buffer.re_nsub > 0) rather than
+       searching for `\(' to determine whether to return 0 or the empty
+       string.  Before it would improperly return '' if the pattern
+       contained a substring like this: `\\('.  From Karl Heuer.
+       For example, running expr c : '\\(' should print `0'.
+
 Sun Jun  1 12:00:10 1997  Jim Meyering  <meyering@na-net.ornl.gov>
 
        * lib/getdate.y (OtherTable): Interpret `next' as 1 (not 2) units.