匹配不上正确的是^(?!var)^.*Enter your regex:[^(var curtime)].* Enter input string to search: adfadsf I found the text "dfadsf" starting at index 1 and ending at index 7. 看输出结果
匹配不上正确的是^(?!var)^.*Enter your regex:[^(var curtime)].* Enter input string to search: adfadsf I found the text "dfadsf" starting at index 1 and ending at index 7. 看输出结果好吧,确实没有完全匹配,漏掉了a,不好意思
Enter input string to search: adfadsf
I found the text "dfadsf" starting at index 1 and ending at index 7.
看输出结果
Enter input string to search: adfadsf
I found the text "dfadsf" starting at index 1 and ending at index 7.
看输出结果好吧,确实没有完全匹配,漏掉了a,不好意思