Skip to content

Instantly share code, notes, and snippets.

@IlyaFinkelshteyn
Created July 14, 2016 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IlyaFinkelshteyn/92a3aa69562fed9f234364e40f33ffe6 to your computer and use it in GitHub Desktop.
Save IlyaFinkelshteyn/92a3aa69562fed9f234364e40f33ffe6 to your computer and use it in GitHub Desktop.
Regex test
<Query Kind="Statements">
<Namespace>System.Text.RegularExpressions</Namespace>
</Query>
Regex regex = new Regex(@"a*");
Match match = regex.Match("aaaaa");
if (match.Success)
{
Console.WriteLine(match.Value);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment