From patchwork Thu Dec 15 23:35:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 18502 Received: (qmail 123308 invoked by alias); 15 Dec 2016 23:36:05 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 123288 invoked by uid 89); 15 Dec 2016 23:36:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=prompted, vapier@gentoo.org, D*gentoo.org, sk:vapier X-HELO: smtp.gentoo.org From: Mike Frysinger To: libc-alpha@sourceware.org Subject: [PATCH] localedata: bs_BA: fix yesexpr/noexpr [BZ #20974] Date: Thu, 15 Dec 2016 18:35:58 -0500 Message-Id: <20161215233558.9658-1-vapier@gentoo.org> Both regexes end with a "*." which means the previous match can be omitted, and then the . allows them to match any input at all. This means tools like coreutils' `rm -i` will always delete things when prompted because the yesexpr regex matches all inputs (even the negative ones). 2016-12-15 Mike Frysinger [BZ #20974] * localedata/bs_BA (LC_MESSAGES): Delete "*." from the end of yesexpr and noexpr. --- localedata/locales/bs_BA | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/localedata/locales/bs_BA b/localedata/locales/bs_BA index a47f87eb373d..68c2f9471a09 100644 --- a/localedata/locales/bs_BA +++ b/localedata/locales/bs_BA @@ -148,8 +148,8 @@ copy "en_DK" END LC_CTYPE LC_MESSAGES -yesexpr "" -noexpr "" +yesexpr "" +noexpr "" yesstr "" nostr "" END LC_MESSAGES