0

应该是TRUE

 kword_search1 = “#include”;
 kword_search2 = “#include<iostream.h> #include”;
 kword_search3 = “#include<iostream.h> #include<iostream.h> #include”;

到目前为止我所做的:

if( /include$/g.test(kword_search)

这里的问题是它只匹配 kword_search1

4

1 回答 1

0
于 2013-08-14T13:59:03.463 回答