kaykay-dv / pocketsearch

A simple full-text search library for Python using SQLite and its FTS5 extension
https://pocketsearch.readthedocs.io/en/latest/
MIT License
1 stars 0 forks source link

Use of # leads to SQL error #29

Closed kaykay-dv closed 1 year ago

kaykay-dv commented 1 year ago

When using # in a query, an SQL parse error is raised (observed on Windows)

kaykay-dv commented 1 year ago

(also observed on Mac)

kaykay-dv commented 1 year ago

When a hash symbol is encountered the whole token is now quoted.

kaykay-dv commented 1 year ago

Fixed in 0.9.1