0
我有一个正则表达式命令的问题:用正则表达式分隔符
text="blue:
allocatable
allocate
assign" //it has delimiters (new lines)
String patternblue = ".*blue.*";
boolean isMatchblue = Pattern.matches(patternblue, text.toString());
System.out.println(isMatchblue);
给人“假”,会发生什么?
我检查了论坛上的其他帖子,但我没有得到它的工作与。*?也不?的