[PATCH] simplify unhex_and_quote

2012-12-22 Thread david
From: David Bremner the overgeneral definition of a prefix can be replaced by lower case alphabetic, and still work fine with current notmuch query syntax. token_len++ is moved to the end, and we restore the delimiter just so we can leave the string as as we found it. --- As always, Jani has a

[PATCH] simplify unhex_and_quote

2012-12-22 Thread da...@tethera.net
From: David Bremner the overgeneral definition of a prefix can be replaced by lower case alphabetic, and still work fine with current notmuch query syntax. token_len++ is moved to the end, and we restore the delimiter just so we can leave the string as as we found it. --- As always, Jani has a

[PATCH] simplify unhex_and_quote

2012-12-23 Thread Mark Walters
On Sun, 23 Dec 2012, david at tethera.net wrote: > From: David Bremner > > the overgeneral definition of a prefix can be replaced by lower case > alphabetic, and still work fine with current notmuch query syntax. > > token_len++ is moved to the end, and we restore the delimiter just so > we can l

Re: [PATCH] simplify unhex_and_quote

2012-12-23 Thread Mark Walters
On Sun, 23 Dec 2012, da...@tethera.net wrote: > From: David Bremner > > the overgeneral definition of a prefix can be replaced by lower case > alphabetic, and still work fine with current notmuch query syntax. > > token_len++ is moved to the end, and we restore the delimiter just so > we can leav