Small bug in regex fixed