Updating revision regex to match sha