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]" 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> <55E05A27 DOT 6090204 AT envinsci DOT co DOT uk> <201508281615 DOT t7SGFeQP014919 AT envy DOT delorie DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Precedence: bulk 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.