allow multiple spaces in regex matching