mirror of https://github.com/tc39/test262.git
28 lines
571 B
JavaScript
28 lines
571 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
esid: sec-literals-regular-expression-literals
|
|
info: |
|
|
RegularExpressionLiteral::
|
|
/ RegularExpressionBody / RegularExpressionFlags
|
|
|
|
RegularExpressionBody ::
|
|
RegularExpressionFirstChar RegularExpressionChars
|
|
|
|
RegularExpressionChars::
|
|
[empty]
|
|
|
|
MemberExpression . IdentifierName
|
|
|
|
description: A regular expression may not be empty.
|
|
negative:
|
|
phase: parse
|
|
type: SyntaxError
|
|
---*/
|
|
|
|
$DONOTEVALUATE();
|
|
|
|
//
|
|
.source;
|