fixed README & changed variable regex to regexp