From 59d73dc08ea371866c1d9d45843e6752f26a48e4 Mon Sep 17 00:00:00 2001 From: Toru Nagashima Date: Fri, 20 Apr 2018 05:19:49 +0900 Subject: [PATCH] Normative: FlagText allows s (#1123) --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index ab9d2feb5c..fb92f118d4 100644 --- a/spec.html +++ b/spec.html @@ -12175,7 +12175,7 @@

Static Semantics: Early Errors

It is a Syntax Error if BodyText of |RegularExpressionLiteral| cannot be recognized using the goal symbol |Pattern| of the ECMAScript RegExp grammar specified in .
  • - It is a Syntax Error if FlagText of |RegularExpressionLiteral| contains any code points other than `"g"`, `"i"`, `"m"`, `"u"`, or `"y"`, or if it contains the same code point more than once. + It is a Syntax Error if FlagText of |RegularExpressionLiteral| contains any code points other than `"g"`, `"i"`, `"m"`, `"s"`, `"u"`, or `"y"`, or if it contains the same code point more than once.