From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: regex and case-fold-search problem Date: Fri, 23 Aug 2002 21:03:07 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <20020824010307.GA8549@gnu.org> References: <200208230625.PAA23426@etlken.m17n.org> <9003-Fri23Aug2002185625+0300-eliz@is.elta.co.il> <200208240051.JAA24648@etlken.m17n.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030151032 1026 127.0.0.1 (24 Aug 2002 01:03:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 Aug 2002 01:03:52 +0000 (UTC) Cc: eliz@is.elta.co.il, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17iPLD-0000GR-00 for ; Sat, 24 Aug 2002 03:03:51 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17iPop-0002hg-00 for ; Sat, 24 Aug 2002 03:34:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17iPMQ-0005He-00; Fri, 23 Aug 2002 21:05:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17iPKY-0004jc-00 for emacs-devel@gnu.org; Fri, 23 Aug 2002 21:03:10 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17iPKV-0004jC-00 for emacs-devel@gnu.org; Fri, 23 Aug 2002 21:03:09 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17iPKV-0004j6-00 for emacs-devel@gnu.org; Fri, 23 Aug 2002 21:03:07 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.10) id 17iPKV-0002HW-00; Fri, 23 Aug 2002 21:03:07 -0400 Original-To: Kenichi Handa Content-Disposition: inline In-Reply-To: <200208240051.JAA24648@etlken.m17n.org> User-Agent: Mutt/1.3.28i Blat: Foop Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6820 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6820 On Sat, Aug 24, 2002 at 09:51:46AM +0900, Kenichi Handa wrote: > I mean that the concept of character range itself is not good. A character > code is just an identifier of a character. We usually don't think about "a > range of identifiers" (e.g. "symbols in the range between t and nil" is > nonsense). Yeah, but character ranges make perfect sense in many local contexts. E.g., [0-9], or [<0>-<9>] where <0> and <9> are `wide' digits from some character set. I think that in cases where the notion of a character range _does_ make sense, that either both ends will be downcase-able, or that both will not, so that perhaps the problem won't actually show up in practice if we just say `only use character ranges when they make sense!' -Miles -- P.S. All information contained in the above letter is false, for reasons of military security.