From: Eric Wong Date: Sat, 21 Mar 2020 02:03:53 +0000 (+0000) Subject: altid: warn about non-word prefixes X-Git-Tag: v1.4.0~53 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=7909c5f7439777e3b3643f14224b27f0a8f8fb07;hp=7909c5f7439777e3b3643f14224b27f0a8f8fb07;p=public-inbox.git altid: warn about non-word prefixes We only support searching on prefixes matching /\A\w+\z/ because Xapian requires ':' to delimit the prefix and splits on spaces without quotes. I've also verified Xapian supports multibyte UTF-8 characters, underscores, and bare numbers as search prefixes, so there's no need to restrict it beyond what Perl's UTF-8 aware \w character class offers. ---