]> Sergey Matveev's repositories - public-inbox.git/commit
search: disallow spaces in argv approxidate queries
authorEric Wong <e@80x24.org>
Wed, 10 Feb 2021 19:57:59 +0000 (18:57 -0100)
committerEric Wong <e@80x24.org>
Thu, 11 Feb 2021 19:15:14 +0000 (19:15 +0000)
commitbbeccd3d252c926e649b946a8a46dd14e6e92182
tree5ea88ff3c5d9153c0041ab31e5f28a1f8d5e54d1
parentb503d87a23c90fc0f705a79bce34944e7e20b28b
search: disallow spaces in argv approxidate queries

This is for consistency with --stdin and WWW front ends
which can't distinguish between phrase searches and
prefix ranges used for d:/dt:/rt:.

In any case, I expect users on the lei command-line are more
likely to use `5.days.ago' instead of `"5 days ago"'
lib/PublicInbox/Search.pm