Fixed regex to require more than zero non-whitespace characters