fork(2) download
  1. using System;
  2. using System.Text.RegularExpressions;
  3.  
  4. class Demo {
  5. public static void Main()
  6. {
  7. string pattern = @"\B@\w+";
  8. foreach (var match in Regex.Matches(@"@help me@ ple@se @now", pattern))
  9. Console.WriteLine(match);
  10. }
  11. }
  12.  
Success #stdin #stdout 0.07s 34176KB
stdin
Standard input is empty
stdout
@help
@now