updated priority regex