Replace multiple whitespace characters with single whitespace characters.
用单个空格字符替换多个空格字符。
You've seen metacharacters, such as \s, that match any whitespace characters.
您已经看到过匹配所有空格字符的元字符,例如 \s。
The second is the preserve whitespace option, which preserves the boundary whitespace characters found in the XML document.
第二个是 preserve whitespace 选项,将保留 XML 文档中的边界空格符。
应用推荐