2012-05-21 1 views

답변

3

당신이 부정적인 lookahead assertion를 사용하여 해결할 수 :

(?i)^(?!.*VSS).*out of memory 

설명 : 그런데

(?i)   # Make the regex case-insensitive 
^    # Match the start of the string 
(?!.*VSS)  # Assert that there is no "VSS" in the string 
.*    # Match any number of characters 
out of memory # Match "out of memory" 

[O,o]O 일치 o또는 ,, 그래서 그것은 아마도 당신이 의미하는 것이 아닙니다.

관련 문제