Reporter | 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
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