fork(1) download
  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using System.Linq;
  5. using System.Text.RegularExpressions;
  6.  
  7. public class Test
  8. {
  9. public static void Main()
  10. {
  11. var regex = new Regex(@"^(?P<delim>\.) # delimiter "."
  12. (?P<root>\w+)$ # Root Symbol, at least 1 character
  13. )", RegexOptions.IgnorePatternWhitespace);
  14. }
  15. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(11,60): error CS1010: Newline in constant
prog.cs(12,34): error CS1009: Unrecognized escape sequence `\w'
prog.cs(12,34): error CS1009: Unrecognized escape sequence `\w'
prog.cs(12,34): error CS1009: Unrecognized escape sequence `\w'
prog.cs(12,25): error CS1041: Identifier expected, `?' is a keyword
prog.cs(12,34): error CS1009: Unrecognized escape sequence `\w'
prog.cs(12,35): error CS1001: Unexpected symbol `)', expecting identifier
prog.cs(12,37): error CS1056: Unexpected character `$'
prog.cs(12,42): error CS1040: Preprocessor directives must appear as the first non-whitespace character on a line
prog.cs(12,59): error CS1001: Unexpected symbol `least', expecting identifier
prog.cs(13,66): error CS1010: Newline in constant
Compilation failed: 11 error(s), 0 warnings
stdout
Standard output is empty