@@ -1882,11 +1882,11 @@ The following patterns are considered problems:
18821882
18831883` ` ` js
18841884interface foo{};
1885- // Message: Interface identifier 'foo' does not match pattern '/^([A-Z][a-z0-9]*)+Type$/'.
1885+ // Message: Interface identifier 'foo' does not match pattern '/^([A-Z][a-z0-9]*)+Type$/u '.
18861886
18871887// Options: ["^foo$"]
18881888interface FooType{};
1889- // Message: Interface identifier 'FooType' does not match pattern '/^foo$/'.
1889+ // Message: Interface identifier 'FooType' does not match pattern '/^foo$/u '.
18901890` ` `
18911891
18921892The following patterns are not considered problems:
@@ -2222,12 +2222,12 @@ const text = 'HELLO';
22222222// Options: ["TODO [0-9]+"]
22232223// $FlowFixMe I am doing something evil here
22242224const text = ' HELLO' ;
2225- // Message: $FlowFixMe is treated as `any` and must be fixed. Fix it or match `/TODO [0-9]+/`.
2225+ // Message: $FlowFixMe is treated as `any` and must be fixed. Fix it or match `/TODO [0-9]+/u `.
22262226
22272227// Options: ["TODO [0-9]+"]
22282228// $FlowFixMe TODO abc 47 I am doing something evil here
22292229const text = ' HELLO' ;
2230- // Message: $FlowFixMe is treated as `any` and must be fixed. Fix it or match `/TODO [0-9]+/`.
2230+ // Message: $FlowFixMe is treated as `any` and must be fixed. Fix it or match `/TODO [0-9]+/u `.
22312231
22322232// $$FlowFixMeProps I am doing something evil here
22332233const text = ' HELLO' ;
@@ -2236,7 +2236,7 @@ const text = 'HELLO';
22362236// Options: ["TODO [0-9]+"]
22372237// $FlowFixMeProps I am doing something evil here
22382238const text = ' HELLO' ;
2239- // Message: $FlowFixMe is treated as `any` and must be fixed. Fix it or match `/TODO [0-9]+/`.
2239+ // Message: $FlowFixMe is treated as `any` and must be fixed. Fix it or match `/TODO [0-9]+/u `.
22402240` ` `
22412241
22422242The following patterns are not considered problems:
@@ -6687,14 +6687,14 @@ The following patterns are considered problems:
66876687
66886688` ` ` js
66896689opaque type foo = {};
6690- // Message: Type identifier 'foo' does not match pattern '/^([A-Z][a-z0-9]*)+Type$/'.
6690+ // Message: Type identifier 'foo' does not match pattern '/^([A-Z][a-z0-9]*)+Type$/u '.
66916691
66926692type foo = {};
6693- // Message: Type identifier 'foo' does not match pattern '/^([A-Z][a-z0-9]*)+Type$/'.
6693+ // Message: Type identifier 'foo' does not match pattern '/^([A-Z][a-z0-9]*)+Type$/u '.
66946694
66956695// Options: ["^foo$"]
66966696type FooType = {};
6697- // Message: Type identifier 'FooType' does not match pattern '/^foo$/'.
6697+ // Message: Type identifier 'FooType' does not match pattern '/^foo$/u '.
66986698` ` `
66996699
67006700The following patterns are not considered problems:
0 commit comments