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

RSRP-458885: Regex Assistant does not recognize all Unicode Named Blocks

$
0
0
Reporter Olga Rodygina (olgarodygina) Olga Rodygina (olgarodygina)
Created May 23, 2016 3:14:32 PM
Updated Apr 13, 2018 3:28:56 PM
Resolved Apr 13, 2018 3:28:56 PM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Fixed
Type Bug
Fix version 2018.2
Affected versions 2016.1.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
We have a regex like that:

new Regex(@"^([\p{IsBasicLatin}\p{IsLatin-1Supplement}\p{IsLatinExtended-A}\p{IsLatinExtended-B}\s]){4,255}$"

Resharper 2016.1.1 does not recognize the
IsLatin-1Supplement
IsLatinExtended-A
IsLatinExtended-B
Unicode Named Blocks. It underlines the "\p{IsLatin" part (and the "\p{IsLatinExtended" parts) and gives the error message "} expected".

Viewing all articles
Browse latest Browse all 106942

Trending Articles