File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
src/ServiceManagement/RemoteApp/Commands.RemoteApp/Common Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
## 2016.02.02 version 1.1.1
2
-
2
+ * Azure RemoteApp: Organizational Unit in Azure RemoteApp RDFE cmdlets now accepts Unicode characters.
3
3
## 2016.01.12 version 1.1.0
4
4
* Azure SQL Database: Threat Detection policies:
5
5
* Using new Threat Detection Types
Original file line number Diff line number Diff line change @@ -57,11 +57,14 @@ public abstract partial class RdsCmdlet
57
57
// ASCII code in hex, e.g. #ff
58
58
protected const string asciiCodeRegexPattern = @"#([0-9A-Fa-f]{2})+" ;
59
59
60
+ // Unicode grapheme
61
+ protected const string unicodeRegexPattern = @"(?>\P{M}\p{M}*)" ;
62
+
60
63
// used to separate entities, , or + followed by 0 or more spaces
61
64
protected const string delimiterRegexPattern = @"[\+,]\s*" ;
62
65
63
66
// an entity value, consists of normal chars, escape codes and hex codes
64
- protected const string entityRegexPattern = @"(" + normalCharRegexPattern + @"|" + escapedCharRegexPattern + @"|" + asciiCodeRegexPattern + @")+" ;
67
+ protected const string entityRegexPattern = @"(" + normalCharRegexPattern + @"|" + escapedCharRegexPattern + @"|" + asciiCodeRegexPattern + @"|" + unicodeRegexPattern + @" )+";
65
68
66
69
// a key/entity pair, e.g DC=foo-bar.com
67
70
protected const string keyEntityRegexPattern = @"(" + keyRegexPattern + @"=" + entityRegexPattern + @")" ;
@@ -92,6 +95,10 @@ public abstract partial class RdsCmdlet
92
95
* |
93
96
* Or a # followed by a sequence of 8 bit ASCII codes in hex
94
97
* (#([0-9A-Fa-f]{2})+)
98
+ *
99
+ * Or a Unicode grapheme
100
+ * (?>\P{M}\p{M}*)
101
+ *
95
102
* There will be 1 or more characters matching this pattern
96
103
* )+
97
104
* )
You can’t perform that action at this time.
0 commit comments