Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Feb 11, 2016 11:02:37 PM |
Updated | Apr 13, 2018 3:29:17 PM |
Resolved | Apr 13, 2018 3:29:17 PM |
Subsystem | RegExp Support (Regular Expressions) |
Assignee | Evgeniy Stepanov (Evgeniy_Stepanov) |
Priority | Normal |
State | Fixed |
Type | Bug |
Fix version | 2018.2 |
Affected versions | 10.0.2 |
Fixed In Version ReSharper | Undefined |
VsVersion | VS 2015 RTM |
using System;
using System.Text.RegularExpressions;
class C
{
static void Main()
{
var r = new Regex(@"(?<1>\d)\k<1>");
Console.WriteLine(r.Match("22").Success);
}
}