On 10/18/2018 04:58 PM, Maziar Parsijani wrote:
Hi,
how could I ignore syntax errors like this?

*SELECT *,*

* highlight(searchsimpleenhanced, 2, '<b>', '</b>') text*

* FROM searchsimpleenhanced*

* WHERE searchsimpleenhanced MATCH 'sth][';*



You can use double quotes to search for a token that contains characters that are special to FTS5. e.g.

  WHERE col MATCH '"sth]["'

is not a syntax error.

Dan.



there maybe nothing to match but I don't like to get syntax errors for a
symbol or character like([ ] () , . @ ...)
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to