TypeScript/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions14_ES5.types

8 lines
299 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions14_ES5.ts ===
// Shouldn't work, negatives are not allowed.
var x = /\u{-DDDD}/g;
2015-04-13 23:01:57 +02:00
>x : RegExp, Symbol(x, Decl(unicodeExtendedEscapesInRegularExpressions14_ES5.ts, 2, 3))
2015-04-13 21:36:11 +02:00
>/\u{-DDDD}/g : RegExp