named regex and test cased added