ログ ファイルを解析し、エラー ステートメントを照合しようとしています。「エラーCS」と一致する行の部分は、多数の行に適用され、重複する行とそうでない行があります。重複を返せない方法はありますか。RegExのJavaフレーバーを使用..
例: 私の単純な正規表現が返されます
Class1.cs(16,27): error CS0117: 'string' does not contain a definition for 'empty'
Class1.cs(34,20): error CS0103: The name 'thiswworked' does not exist in the current context
Class1.cs(16,27): error CS0117: 'string' does not contain a definition for 'empty'
Class1.cs(34,20): error CS0103: The name 'thiswworked' does not exist in the current context
返してほしい:
Class1.cs(16,27): error CS0117: 'string' does not contain a definition for 'empty'
Class1.cs(34,20): error CS0103: The name 'thiswworked' does not exist in the current context