fork(1) download
  1. using System;
  2. using System.IO;
  3. using System.Text.RegularExpressions;
  4.  
  5. class Program
  6. {
  7. static void Main()
  8. {
  9. string strpath = File.ReadAllText(@"C:\Users\mistery\Desktop\regex.txt");
  10. i=0
  11. Match match = Regex.Match(strpath, $"(?<=\\d +(\\w)*.*?\\d) +(\\d+)"), RegexOptions.IgnoreCase);
  12.  
  13. }
  14. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(11,8): error CS1525: Unexpected symbol `Match'
prog.cs(11,121): error CS1525: Unexpected symbol `.', expecting `)', `,', `;', or `='
Compilation failed: 2 error(s), 0 warnings
stdout
Standard output is empty