Fixed error in regex