changed regex to allow whitespace