An alternative to regexp would be "full-text search": https://www.sqlite.org/fts5.html I don't know how fast that is. Might also induce more disk usage. I'll test. -- Pierre Neidhardt https://ambrevar.xyz/