Add colon after prefix when term starts with a colon
commitfb45f20df5bc0258e0396e918d2e2e5b3f8b88e5
authorOlly Betts <olly@survex.com>
Mon, 30 Oct 2017 23:37:45 +0000 (31 12:37 +1300)
committerOlly Betts <olly@survex.com>
Mon, 30 Oct 2017 23:40:13 +0000 (31 12:40 +1300)
tree1002f0a7ff874db0935179bc447c4762b0d64038
parentf7acca6a7d7ff748a146fe9ad54708046a49a455
Add colon after prefix when term starts with a colon

This means the mapping is reversible, and matches what omega actually
does in this case when it tries to reverse the mapping.

Thanks to Andy Chilton for pointing out this corner case.
xapian-applications/omega/docs/termprefixes.rst
xapian-applications/omega/scriptindex.cc
xapian-core/queryparser/queryparser.lemony
xapian-core/tests/api_queryparser.cc