Made regex more accurate.