www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/08/03/18:47:32

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: geda-user AT delorie DOT com
From: Kai-Martin Knaak <kmk AT familieknaak DOT de>
Subject: Re: [geda-user] Find Text Mechanism
Date: Tue, 04 Aug 2015 00:46:25 +0200
Lines: 35
Message-ID: <mpor01$v3h$1@ger.gmane.org>
References: <818820A7-34E1-4EE3-B043-992FA380ED01 AT sbcglobal DOT net>
Mime-Version: 1.0
X-Complaints-To: usenet AT ger DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: a89-182-156-195.net-htp.de
User-Agent: KNode/4.14.1
Reply-To: geda-user AT delorie DOT com

Edward Hennessy (ehennes AT sbcglobal DOT net) [via 
geda-user AT delorie DOT com] wrote:

> I'd like to update the find text operation to support globs instead
> of just a substring search.
> 
> Should the program support both globs and substring searches and
> have an additional checkbox in the find text window?

Please support both.
I'd also like to see an option to do full regular expression search. 
Most of the time this is more hassle than globbing or simple substring 
search. But there are a few cases where regexp can prove to be a 
winner. 


> I'd like to only support globs from the angle that we don't get to
> many checkboxes in the UI. 

I'd rater have more checkboxes than be induced to find clever 
workarounds to get the job done with the one-size-fits-all. 


> The drawback from only supporting globs,
> the '*' and '?' can't be escaped.

Hmm. The bash globbing mechanism can escape "?" just fine. Example:

$ ls *\?*
4541?75.pdf
$

And yes, you can also escape the backslash...

---<)kaiamrtin(>---

- Raw text -


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