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

RSRP-453763: Detect Regex problem: [x-y] range in reverse order.

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Feb 11, 2016 10:47:08 PM
Updated Apr 13, 2018 3:29:11 PM
Resolved Apr 13, 2018 3:29:10 PM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Fixed
Type Feature
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("[z-a]"); // System.ArgumentException: parsing "[z-a]" - [x-y] range in reverse order.
}
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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