removed escape operator in searchpattern variable