regex and test update