fixed unspace error in regex