Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-453767: Detect Regex problem: Illegal {x,y} with x > y

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Feb 11, 2016 11:14:20 PM
Updated Apr 13, 2018 3:29:13 PM
Resolved Apr 13, 2018 3:29:13 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.Text.RegularExpressions;

class C
{
static void Main()
{
var r = new Regex("x{2,1}"); // ArgumentException: parsing "x{2,1}" - Illegal {x,y} with x > y.
}
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>