[regex] regular expression: match any word until first space