update regexp to handle all whitespace