escape regex delimiter character in searches, fixes issue #31