RegEx C# doesnt Match when regex101 does
问题 this is my pattern: -{8}\s+((?:[0-9]{2}\/[0-9]{2}\/[0-9]{2})\s+(?:[0-9]{2}:[0-9]{2}:[0-9]{2}))\s+(?:LINE)\s+=\s+([0-9]{0,9})\s+(?:STN)\s+=\s+([0-9]{0,9})[ ]*(?:\n[ \S]*)*INCOMING CALL(?:[\S\s][^-])* and this is my string: -------- 02/16/18 13:50:39 LINE = 0248 STN = 629 CALLING NUMBER 252 NAME Mar Ant UNKNOWN DNIS NUMBER 255 BC = SPEECH VOIP CALL 00:00:00 INCOMING CALL RINGING 0:09 LINE = 0004 00:00:25 CALL RELEASED it does match with several online regex testers but not with C# testers like