为什么这会返回false我输入的任何正常单词?正则表达式返回false的验证
if(!guestbook.getName().matches("[a-zA-Z0-9\\s]")) {
errors.rejectValue("name", "stringFormat.falseCharacters", "You are only allowed to use numbers, letters and spaces for the name.");
}
我必须缺少一些东西。