JsModule { bom_token: missing (optional), interpreter_token: missing (optional), directives: JsDirectiveList [], items: JsModuleItemList [ JsExpressionStatement { expression: JsRegexLiteralExpression { value_token: JS_REGEX_LITERAL@0..25 "/[\\p{Control}--[\\t\\n]]/vv" [] [], }, semicolon_token: SEMICOLON@25..26 ";" [] [], }, JsExpressionStatement { expression: JsRegexLiteralExpression { value_token: JS_REGEX_LITERAL@26..52 "/[\\p{Control}--[\\t\\n]]/uv" [Newline("\n")] [], }, semicolon_token: SEMICOLON@52..53 ";" [] [], }, ], eof_token: EOF@53..54 "" [Newline("\n")] [], } 0: JS_MODULE@0..54 0: (empty) 1: (empty) 2: JS_DIRECTIVE_LIST@0..0 3: JS_MODULE_ITEM_LIST@0..53 0: JS_EXPRESSION_STATEMENT@0..26 0: JS_REGEX_LITERAL_EXPRESSION@0..25 0: JS_REGEX_LITERAL@0..25 "/[\\p{Control}--[\\t\\n]]/vv" [] [] 1: SEMICOLON@25..26 ";" [] [] 1: JS_EXPRESSION_STATEMENT@26..53 0: JS_REGEX_LITERAL_EXPRESSION@26..52 0: JS_REGEX_LITERAL@26..52 "/[\\p{Control}--[\\t\\n]]/uv" [Newline("\n")] [] 1: SEMICOLON@52..53 ";" [] [] 4: EOF@53..54 "" [Newline("\n")] [] -- regex.js:1:25 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Duplicate flag `v`. > 1 │ /[\p{Control}--[\t\n]]/vv; │ ^ 2 │ /[\p{Control}--[\t\n]]/uv; 3 │ i This flag was already used. -- regex.js:2:25 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Invalid regex flag. 1 │ /[\p{Control}--[\t\n]]/vv; > 2 │ /[\p{Control}--[\t\n]]/uv; │ ^ 3 │ i The 'u' and 'v' regular expression flags cannot be enabled at the same time. -- /[\p{Control}--[\t\n]]/vv; /[\p{Control}--[\t\n]]/uv;