fix handling of backslash, which can appear in text search containing
special characters, such as dot, or egrep with backslash as escape character(s).