Refined regex