summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rpmatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmatch.c b/lib/rpmatch.c
index eeda0fd60..55d3bba13 100644
--- a/lib/rpmatch.c
+++ b/lib/rpmatch.c
@@ -74,8 +74,8 @@ rpmatch (response)
static regex_t yesre, nore;
int result;
- return ((result = try (response, _("^[yY][[:alpha:]]*"), 1, 0,
+ return ((result = try (response, _("^[yY]"), 1, 0,
&yesexpr, &yesre))
? result
- : try (response, _("^[nN][[:alpha:]]*"), 0, -1, &noexpr, &nore));
+ : try (response, _("^[nN]"), 0, -1, &noexpr, &nore));
}