更新时间:2023-02-17 23:01:29
很简单:.*\S.*
这在任何地方都需要一个非空格字符.正则表达式语法适用于 Perl 5 兼容的正则表达式,如果您有其他语言,语法可能会有所不同.
This requires one non-space character, at any place. The regular expression syntax is for Perl 5 compatible regular expressions, if you have another language, the syntax may differ a bit.