diff options
author | Jim Meyering <jim@meyering.net> | 1996-07-22 01:01:10 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-07-22 01:01:10 +0000 |
commit | a56da10982f7e2227f2041377371642d44d95389 (patch) | |
tree | fd5655241073297692ced6fa4ebc0e84c7a46e0a /lib | |
parent | 1089f9b9293fa3663d3c843f6632eae4f1ab55ab (diff) | |
download | coreutils-a56da10982f7e2227f2041377371642d44d95389.tar.xz |
(rpmatch): Add back [[:alpha:]]. Drepper says it's the standard.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rpmatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmatch.c b/lib/rpmatch.c index a57a0478f..d3ea353be 100644 --- a/lib/rpmatch.c +++ b/lib/rpmatch.c @@ -71,8 +71,8 @@ rpmatch (response) static regex_t yesre, nore; int result; - return ((result = try (response, _("^[yY]"), 1, 0, + return ((result = try (response, _("^[yY][[:alpha:]]*"), 1, 0, &yesexpr, &yesre)) ? result - : try (response, _("^[nN]"), 0, -1, &noexpr, &nore)); + : try (response, _("^[nN][[:alpha:]]*"), 0, -1, &noexpr, &nore)); } |