← Back to team overview

kicad-developers team mailing list archive

Re: [RFC] Wildcard and/or regex support in the component chooser

 

Thanks, and I don't mean to sound grouchy about it. I don't want to try 
to be a backseat driver and start insisting we do things My Way, or 
anything like that. It's just that my proposed change is really quick 
and simple, and would scratch a massive itch of mine - I'd definitely 
not object to adding even more stuff, but I've been really limited on 
time lately... fuzzy matching sounds kinda interesting, and it'd be cool 
to see it added. It just wouldn't do anything for the reason I wanted to 
add wildcard matching, and as much as I wish I had time to spend coding 
cool things that _don't_ help me... I don't have any. :(

So, if Wayne &c don't object to adding a simple wildcard search, I'd 
happily spend a few hours on that. But if we decide we want something 
more complicated - I won't complain and object, but I don't really have 
much time to work on it either.

On Fri, Dec 18, 2015 at 01:57:16PM -0500, Jon Evans wrote:
> Hi Chris, thanks for the feedback.  I certainly don't expect you to waste
> your time implementing something that you don't want/need!  I think if you
> end up implementing wildcard match it will be a good starting point for
> adding fuzzy matching later if someone wants to take that on (maybe even I
> would!), at which point we can try it out and see if anyone else besides me
> thinks it's a better way to search.
> 
> BR,
> Jon
> 
> On Fri, Dec 18, 2015 at 1:51 PM, Chris Pavlina <pavlina.chris@xxxxxxxxx>
> wrote:
> 
> > This is just going to clutter up the results with a bunch of annoying
> > false positives. If you want it, fine, but I'm not going to waste my own
> > limited time on it. All I want is a simple, predictable pattern match.
> > On Dec 18, 2015 13:32, "Mark Roszko" <mark.roszko@xxxxxxxxx> wrote:
> >
> >> We can probably implement it ourselves as a wx based control,
> >>
> >> The JS implementation is only 100 lines.
> >> https://github.com/mattyork/fuzzy/blob/master/lib/fuzzy.js
> >>
> >> You don't need a C++ library or anything
> >>
> >


Follow ups

References