change string from regexp patter to equal expression to fast query and index