regex #159

 
amby src #1030

does apioforum support regex searching

and if not, why not

ubq323 (bureaucrat) src #1032

no, but it does support sqlite fts5 query syntax

why not: because evaluating a regex against every single post ever would be unfathomably slow. instead we use sqlite's fts5 (full text search) extension to index posts by words that appear in them (or something, i'm not sure how it works actually).

amby src #1036

understandable

kit src #1042

simply just do if (post_title == query) { add_to_list (); } smh

ubq323 (bureaucrat) src #1047

that would only search post titles and would only search exact matches, which is worse than either of the two methods heretofore mentioned

kit src #1053

i was joking

please log in to reply to this thread