precompiled query may write regex