Replace multiple whitespace characters with single whitespace characters.
用单个空格字符替换多个空格字符。
You've seen metacharacters, such as \s, that match any whitespace characters.
您已经看到过匹配所有空格字符的元字符,例如 \s。
To specify how whitespace characters should be handled, we would use the whitespace constraint.
为了指定空白符的处理方式,我们可以使用空白符约束。
应用推荐