fix: escape regex in search api