Empty area check regex fix