updating regex to latest