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

Handling of punctuation characters #55

Closed kaykay-dv closed 8 months ago

kaykay-dv commented 8 months ago

When using punctuation characters in queries, they need to be properly quoted before sent to sqlite. This is now done through keeping a manually curated list of punctuation characters which still leads to some characters not handled properly causing SQL errors.

The solution is: