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

RSRP-465855: Regular Expression Work Incorrectly

$
0
0
Reporter Olga Rodygina (olgarodygina) Olga Rodygina (olgarodygina)
Created Aug 14, 2017 4:25:19 PM
Updated Apr 13, 2018 3:29:03 PM
Resolved Apr 13, 2018 3:29:03 PM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Fixed
Type Bug
Fix version 2018.2
Affected versions 2017.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
That regex pattern: (\B[A-Z]|\d*)
Look at screen

Resharper Validatator shows me two group, so i expected result like that "Col-Md-12", but result was "-C-o-l-M-d-12-".
I did not know why until i used http://regexstorm.net/tester (look at second screen). Online tester showed me group with empty string - resharper not - this is problem.

i attached solution from screen.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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