use wordboundary stuff when picking search word

also escape it when regex is turned on