bug-gnupod
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnupod] gnupod_search -i does not do a exact match


From: H. Langos
Subject: Re: [Bug-gnupod] gnupod_search -i does not do a exact match
Date: Wed, 9 Dec 2009 19:58:24 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Mon, Dec 07, 2009 at 06:58:28PM +0100, Richard van den Berg wrote:
> Hi Henrik,
> 
> On 5-12-09 16:48 , H. Langos wrote:
> > >From gnupod_search help text ..
> >
> >       * Everything else is handled as regular expressions! If you want to 
> > search for
> >         eg. ID '3' (excluding 13,63,32..), you would have to write: 
> > --id="^3$"
> >   
> 
> So it is working as designed, but it is poor design IMHO. For the id
> field, using a regex is fine but if the pattern consist of only digits
> gnupod should add the ^ and $ symbols to it. I can code this up if you
> agree.

why not gnupod_find? it uses regex on strings and numeric matching on
numeric attributes when using the = comparator.
chers
-h




reply via email to

[Prev in Thread] Current Thread [Next in Thread]