make entire search string configurable

add test