fixed regexp bugs on search module by escaping special chars entered into search field