Queries support prefix "commands" (unrelated to regex syntax): e.g. +w foo (word) should give the same results as \bfoo\b, +1 foo (1st word) as ^foo\b, and += foo (exact) as ^foo$. (The + prefix was chosen because no valid regex can start with it.)