using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
public class Test
{
public static void Main()
{
var regex = new Regex(@"^(?P<delim>\.) # delimiter "."
(?P<root>\w+)$ # Root Symbol, at least 1 character
)", RegexOptions.IgnorePatternWhitespace);
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYzsKdXNpbmcgU3lzdGVtLklPOwp1c2luZyBTeXN0ZW0uTGlucTsKdXNpbmcgU3lzdGVtLlRleHQuUmVndWxhckV4cHJlc3Npb25zOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCXZhciByZWdleCA9IG5ldyBSZWdleChAIl4oP1A8ZGVsaW0+XC4pICAgICAjIGRlbGltaXRlciAiLiIKICAgICAgICAgICAgICAgICAgICAgICAgKD9QPHJvb3Q+XHcrKSQgICAgIyBSb290IFN5bWJvbCwgYXQgbGVhc3QgMSBjaGFyYWN0ZXIKICAgICAgICAgICAgICAgICAgICAgICAgKSIsIFJlZ2V4T3B0aW9ucy5JZ25vcmVQYXR0ZXJuV2hpdGVzcGFjZSk7Cgl9Cn0=
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