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 15:22:26 +0200 (CEST) X-X-Sender: igor2 AT igor2priv To: "Matt Rhys-Roberts (matt DOT rhys-roberts AT envinsci DOT co DOT uk) [via geda-user AT delorie DOT com]" X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu" From: gedau AT igor2 DOT repo DOT hu Subject: Re: [geda-user] when pcb disperse command loses elements In-Reply-To: <55E05A27.6090204@envinsci.co.uk> Message-ID: References: <55E02536 DOT 8020202 AT envinsci DOT co DOT uk> <55E05A27 DOT 6090204 AT envinsci DOT co DOT uk> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 On Fri, 28 Aug 2015, Matt Rhys-Roberts (matt DOT rhys-roberts AT envinsci DOT co DOT uk) [via geda-user AT delorie DOT com] wrote: > On 28/08/15 10:29, gedau AT igor2 DOT repo DOT hu wrote: >> >> A regex pattern for 100-199 is: 1[0-9][0-9] >> For 200-299: 2[0-9][0-9] >> In case you want to deal with resistors only: R1[0-9][0-9] >> >> These are the generic regex patterns that; I am not sure how exactly the >> select dialog box works, tho. > > Thanks! That really helps for selecting R100-199, C100-199, etc. > > Next, I'd really like to know if it's possible to select ALL components > numbered 100-199, 200-299, etc. I've tried lots of regex combinations but not > found the right magic yet... Tested it now, it seems it's not pure regex but does some transformation/magic, probably assuming the format will be letter-number or forcing match from the beginning of the refdes, I'm not sure. What worked for me, for 100-199 is this: .1[0-9][0-9] So the trick is that it really wants to match the letter in your case, so we give it a . that matches anything. Regards, Igor2