From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-2.sys.kth.se (smtp-2.sys.kth.se [130.237.32.160]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id pAT0Z4fv017038 for ; Mon, 28 Nov 2011 19:35:04 -0500 (EST) Received: from mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 3AE2E14DC71 for ; Tue, 29 Nov 2011 01:34:58 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([130.237.32.160]) by mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) (amavisd-new, port 10024) with LMTP id f4Kr21yNtwrE for ; Tue, 29 Nov 2011 01:34:57 +0100 (CET) X-KTH-Auth: kristaps [83.250.6.251] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: tech@mdocml.bsd.lv Received: from macky.local (c83-250-6-251.bredband.comhem.se [83.250.6.251]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 9EAB214DB0D for ; Tue, 29 Nov 2011 01:34:55 +0100 (CET) Message-ID: <4ED428AE.4000904@bsd.lv> Date: Tue, 29 Nov 2011 01:34:54 +0100 From: Kristaps Dzonsons User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 To: tech@mdocml.bsd.lv Subject: Re: Showing all possible apropls keys. References: <4ECA86C8.1030100@bsd.lv> <20111121223702.GA22285@iris.usta.de> <4ECB6446.4090201@bsd.lv> <20111126122125.GD13912@iris.usta.de> <4ED3F11A.6080201@bsd.lv> <20111128235940.GA7216@iris.usta.de> In-Reply-To: <20111128235940.GA7216@iris.usta.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit >> Operator >> .Li \&= >> evaluates a substring, while >> @@ -125,7 +128,7 @@ >> parses terms as case-sensitive regular expressions >> .Pq the Li \&~ operator > > While here, you could fix that statement. > The default is exactly the opposite: > Case-insensitive substrings. Ingo, I'm merging your other comments, but this gives me pause. The `-i' flips on case insensitivity: following exprcomp() into exprterm(), the "cs" (case-sensitive) field is 1 by default (or 0 if `-i' is specified). Then in exprmark(), "cs" is acted upon with strstr() if 1, strcasestr() if 0. This behaviour may have changed from the original version, so let's nip it if that's so. However, the current behaviour seems consistent to me: if we want "-i" to mean case-insensitive, it should mean that for the following term, whether `~' or `=', with the opposite (sensitivity) being the default. No? It seems confusing to have an `-i' but have `=' be insensitive. Thanks again, Kristaps -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv