Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么下面的语法输出假?我知道 the\\S是一个非空白字符,并且 the\\w是一个单词字符。请随时告诉我我错了。这是代码:
\\S
\\w
System.out.println("asdfghj".matches("\\S\\w"));
谢谢。