fork(1) download
  1. using System;
  2. using System.Text.RegularExpressions;
  3. using System.IO;
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. var s = Regex.Match("\u00018848486", @"\k<1>8848486");
  9. if (s.Success) Console.WriteLine(s.Value);
  10. }
  11. }
Runtime error #stdin #stdout #stderr 0.01s 34896KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Unhandled Exception:
System.ArgumentException: parsing '\k<1>8848486' - Reference to undefined group number 1.
  at System.Text.RegularExpressions.RegexParser.ScanBasicBackslash () [0x00000] in <filename unknown>:0 
  at System.Text.RegularExpressions.RegexParser.ScanBackslash () [0x00000] in <filename unknown>:0 
  at System.Text.RegularExpressions.RegexParser.ScanRegex () [0x00000] in <filename unknown>:0 
  at System.Text.RegularExpressions.RegexParser.Parse (System.String re, RegexOptions op) [0x00000] in <filename unknown>:0 
  at System.Text.RegularExpressions.Regex..ctor (System.String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache) [0x00000] in <filename unknown>:0 
  at System.Text.RegularExpressions.Regex.Match (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in <filename unknown>:0 
  at System.Text.RegularExpressions.Regex.Match (System.String input, System.String pattern) [0x00000] in <filename unknown>:0 
  at Test.Main () [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: parsing '\k<1>8848486' - Reference to undefined group number 1.
  at System.Text.RegularExpressions.RegexParser.ScanBasicBackslash () [0x00000] in <filename unknown>:0 
  at System.Text.RegularExpressions.RegexParser.ScanBackslash () [0x00000] in <filename unknown>:0 
  at System.Text.RegularExpressions.RegexParser.ScanRegex () [0x00000] in <filename unknown>:0 
  at System.Text.RegularExpressions.RegexParser.Parse (System.String re, RegexOptions op) [0x00000] in <filename unknown>:0 
  at System.Text.RegularExpressions.Regex..ctor (System.String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache) [0x00000] in <filename unknown>:0 
  at System.Text.RegularExpressions.Regex.Match (System.String input, System.String pattern, RegexOptions options, TimeSpan matchTimeout) [0x00000] in <filename unknown>:0 
  at System.Text.RegularExpressions.Regex.Match (System.String input, System.String pattern) [0x00000] in <filename unknown>:0 
  at Test.Main () [0x00000] in <filename unknown>:0