From unknown Mon Jun 23 22:05:39 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#19738 <19738@debbugs.gnu.org> To: bug#19738 <19738@debbugs.gnu.org> Subject: Status: How did [a-z] match =?UTF-8?Q?=C3=A9=3F?= Reply-To: bug#19738 <19738@debbugs.gnu.org> Date: Tue, 24 Jun 2025 05:05:39 +0000 retitle 19738 How did [a-z] match =C3=A9? reassign 19738 grep submitter 19738 James Calfee severity 19738 normal tag 19738 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 30 21:47:16 2015 Received: (at submit) by debbugs.gnu.org; 31 Jan 2015 02:47:17 +0000 Received: from localhost ([127.0.0.1]:58337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YHO5c-0006Qb-4d for submit@debbugs.gnu.org; Fri, 30 Jan 2015 21:47:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50076) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YHN6m-0004Ga-PD for submit@debbugs.gnu.org; Fri, 30 Jan 2015 20:44:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHN6g-0003gM-SH for submit@debbugs.gnu.org; Fri, 30 Jan 2015 20:44:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHN6g-0003gI-Pn for submit@debbugs.gnu.org; Fri, 30 Jan 2015 20:44:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHN6g-0000Cl-3x for bug-grep@gnu.org; Fri, 30 Jan 2015 20:44:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHN6c-0003fy-UR for bug-grep@gnu.org; Fri, 30 Jan 2015 20:44:18 -0500 Received: from mail-ig0-f173.google.com ([209.85.213.173]:36050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHN6c-0003fs-R9 for bug-grep@gnu.org; Fri, 30 Jan 2015 20:44:14 -0500 Received: by mail-ig0-f173.google.com with SMTP id a13so7451726igq.0 for ; Fri, 30 Jan 2015 17:44:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=hIG4G1PnQefhppsjVeprs35gCxwe1Z3G1ek0ubVIxOc=; b=ZUQ/zzA5CCKYL1eHEQ7q2XFRc8H34wxLSOOW+3vlAvPinIMOJXVFBzs3CEL6eF5lhq OeaOZ03AmRETOTl5HTpjf8CL3sZg/YniYSmCfn6DhgigWvlFF6pHex+cPie0qkLjOAPN 2PZ4Fc2qFwU7z8NYzl1vQbFO41ST8uUkVaiQ6UMxnAk5fCVsHyjOqxyVeiTUmU5AkFyP 7CdOLUaVnIEB47blXCxoDtFkygfXNqHXPENS20SCtbgLQzz9oiqtTTy6bFlSaB3DwCgd e3tPMdEGPxlW9CzlP604PeUG8d/VgWds7Mb1T96W+cZgjYLnE+FzxLDVL+a+Dp+/dp7I +uig== X-Gm-Message-State: ALoCoQlsAO7Tox/mpWWorFf7EguVROQaNiY0xoXBQKOn62pgJvZ/mKAoRGRqgx+eef0SSh02cY+B MIME-Version: 1.0 X-Received: by 10.42.65.74 with SMTP id k10mr9457852ici.42.1422668653886; Fri, 30 Jan 2015 17:44:13 -0800 (PST) Received: by 10.51.15.2 with HTTP; Fri, 30 Jan 2015 17:44:13 -0800 (PST) X-Originating-IP: [50.150.128.37] Date: Fri, 30 Jan 2015 20:44:13 -0500 Message-ID: Subject: =?UTF-8?B?SG93IGRpZCBbYS16XSBtYXRjaCDDqT8=?= From: James Calfee To: bug-grep@gnu.org Content-Type: multipart/alternative; boundary=90e6ba3fd363bf9557050de8dbbc X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 30 Jan 2015 21:47:15 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --90e6ba3fd363bf9557050de8dbbc Content-Type: text/plain; charset=UTF-8 http://stackoverflow.com/questions/28247204/how-did-a-z-match-%C3%A9 --90e6ba3fd363bf9557050de8dbbc Content-Type: text/html; charset=UTF-8 --90e6ba3fd363bf9557050de8dbbc-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 31 17:25:43 2015 Received: (at control) by debbugs.gnu.org; 31 Jan 2015 22:25:44 +0000 Received: from localhost ([127.0.0.1]:59248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YHgU3-0003WE-A8 for submit@debbugs.gnu.org; Sat, 31 Jan 2015 17:25:43 -0500 Received: from resqmta-po-01v.sys.comcast.net ([96.114.154.160]:44254) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YHgTx-0003Vp-18 for control@debbugs.gnu.org; Sat, 31 Jan 2015 17:25:41 -0500 Received: from resomta-po-07v.sys.comcast.net ([96.114.154.231]) by resqmta-po-01v.sys.comcast.net with comcast id mmQg1p0054zp9eg01mRX5X; Sat, 31 Jan 2015 22:25:31 +0000 Received: from [192.168.0.6] ([24.10.254.122]) by resomta-po-07v.sys.comcast.net with comcast id mmRW1p0012fD5rL01mRWra; Sat, 31 Jan 2015 22:25:31 +0000 Message-ID: <54CD5659.4020504@redhat.com> Date: Sat, 31 Jan 2015 15:25:29 -0700 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: James Calfee , 19738-done@debbugs.gnu.org Subject: Re: bug#19738: How did [a-z] match =?UTF-8?B?w6k/?= References: In-Reply-To: OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="a9nlk7KaBbMJSLUXe5BUWmvOBFQvCsnwi" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1422743131; bh=NpC0O3Im5asatQ5BHcC6MsgiVDH1afxDyDwA4z9D99k=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=CqpXqxF1tnE307V09pHNGrmp1zbIzETtm2iBdxLAq3e6wK8d+yIEZZYjXUQTsTwb0 ++zk4BNu1not7GUPwUpZE4dfJW68xCtpiN/N3HJr2zOqkyA5EVr2Tj7dvQDHzrK77g GgybXXIdYY5ZZRezYQMDSLh9+krtNjsrW++X8F2SPBXRu/XXCvP2+wxL7SYmU3Q7HS wgPz0NItX7lkQaNIQRaayUIAHyiR5FmOctld8pbB3+k68HvWBDIXyb0ROG03MfZ834 n2KjmbXhHZ2Xr8fR6cCbDBnU5XuMhwGOh9NnKFv1W+LB6FyXOUOzBfGYUg2kmhd9Y7 XV0KtjzqM/Mkw== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --a9nlk7KaBbMJSLUXe5BUWmvOBFQvCsnwi Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable tag 19738 notabug thanks On 01/30/2015 06:44 PM, James Calfee wrote: > http://stackoverflow.com/questions/28247204/how-did-a-z-match-%C3%A9 Rather than making us chase a link, how about pasting the content of your question directly in your mail. At any rate, the answer to the question in your subject line is that your current locale is set up to include letters outside of the 26 ascii bytes. Run with LC_ALL=3DC in the environment to get the well-defined behavior you seem to want, and note that POSIX states that range expressions in regular expressions are undefined in non-C locales, precisely because some tools use all collation elements that 'sort' would place in the range, while other tools use 'rational range expression' and treat the range as if it were ASCII instead of the current locale. This is not a bug in coreutils, so I'm closing the tracker bug, but do feel free to make further comments or questions. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --a9nlk7KaBbMJSLUXe5BUWmvOBFQvCsnwi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJUzVZZAAoJEKeha0olJ0Nq/mAIAIgrFcfbpLJm7yYgJaQ1Pe7Y p1cophmvHWbSTSy4Fjx6HPnOAkTSbBG3UNAXuQYTvaGyeHr9AAYv5UWziNV9t3bU P5CRdDsfzvz2u4Q8nkcdN/9Hn1KcLA64L2zx+UlWYcCXe42R1/GQ5hXrhCjjkZQA VccRsaWoeFe9z5FhZwhmCf0lZMc7FiM4CoVwKw4Dpx5I3bTEPbb13Es8oy38l86/ WTFdeecJVC5r7w2ptK5tv335r+rRCRzVSY+Adt6Zwjv8QW1jEDyxcBM0RCBX+DH7 6a0hFU28mp++CNsUtjx6stpNiMZ1wXfRF/SV7toGlLtTyic7ovViaBwlYii8mA8= =Zigm -----END PGP SIGNATURE----- --a9nlk7KaBbMJSLUXe5BUWmvOBFQvCsnwi-- From unknown Mon Jun 23 22:05:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 01 Mar 2015 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator