added wildcard to equals
fixed wildcard regex