www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/08/28/13:01:52

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Fri, 28 Aug 2015 19:01:19 +0200
From: "Stephen R. van den Berg (srb AT cuci DOT nl) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] when pcb disperse command loses elements
Message-ID: <20150828170119.GA10344@cuci.nl>
References: <55E02536 DOT 8020202 AT envinsci DOT co DOT uk>
<alpine DOT DEB DOT 2 DOT 00 DOT 1508281126210 DOT 6924 AT igor2priv>
<55E05A27 DOT 6090204 AT envinsci DOT co DOT uk>
<alpine DOT DEB DOT 2 DOT 00 DOT 1508281520400 DOT 6924 AT igor2priv>
<alpine DOT DEB DOT 2 DOT 00 DOT 1508281755010 DOT 6924 AT igor2priv>
<201508281615 DOT t7SGFeQP014919 AT envy DOT delorie DOT com>
<alpine DOT DEB DOT 2 DOT 00 DOT 1508281826040 DOT 6924 AT igor2priv>
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.00.1508281826040.6924@igor2priv>
User-Agent: Mutt/1.5.21 (2010-09-15)
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

gedau AT igor2 DOT repo DOT hu wrote:
>On Fri, 28 Aug 2015, DJ Delorie wrote:
>>>I support the Rule of Least Surprise,
>>The Rule of Least Surpise says if you type in "R12|C4" you should only
>>get those two parts, not R123 and LC45 too.

>I would agree if it was not regex but plain string matching or some
>custom syntax.

For people which are not well versed in regexes, the current behaviour
(anchored regex) is simpler to understand.
So if you want to use it unanchored, it should be a configoption; then
again, you might as well type .* before and/or after it when you need that
type of behaviour.
-- 
Stephen.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019