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

RSRP-458741: regular expression do not correctly matching

$
0
0
Reporter Olga Rodygina (olgarodygina) Olga Rodygina (olgarodygina)
Created May 11, 2016 6:21:52 PM
Updated Apr 13, 2018 3:28:59 PM
Resolved Apr 13, 2018 3:28:59 PM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Major
State Fixed
Type Bug
Fix version 2018.2
Affected versions 2016.1.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Tools -> Validate Regular Expression

Regular Expression = "\\$VERSION=(.*)"
Test Input = "$VERSION=110 "

Expected behaviour:
Highlight the whole string, as it is a complete match

Actual behaviour:
Actually only "$VERSION=110" gets highlighted - without the trailing whitespaces

Problem:
This behaves differently to the Regex-class in the CLR

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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