d17b4bfb27
Bug: v8:6703 Change-Id: I225cd78bedf2c0c123aedd3deeb1cd6d442f7697 Reviewed-on: https://chromium-review.googlesource.com/901522 Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#51114}
24 lines
803 B
JavaScript
24 lines
803 B
JavaScript
// Copyright 2018 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
assertTrue(/(\u039C)/i.test("\xB5"));
|
|
assertTrue(/(\u039C)+/i.test("\xB5"));
|
|
assertTrue(/(\u039C)/ui.test("\xB5"));
|
|
assertTrue(/(\u039C)+/ui.test("\xB5"));
|
|
|
|
assertTrue(/(\u03BC)/i.test("\xB5"));
|
|
assertTrue(/(\u03BC)+/i.test("\xB5"));
|
|
assertTrue(/(\u03BC)/ui.test("\xB5"));
|
|
assertTrue(/(\u03BC)+/ui.test("\xB5"));
|
|
|
|
assertTrue(/(\u03BC)/i.test("\u039C"));
|
|
assertTrue(/(\u03BC)+/i.test("\u039C"));
|
|
assertTrue(/(\u03BC)/ui.test("\u039C"));
|
|
assertTrue(/(\u03BC)+/ui.test("\u039C"));
|
|
|
|
assertTrue(/(\u0178)/i.test("\xFF"));
|
|
assertTrue(/(\u0178)+/i.test("\xFF"));
|
|
assertTrue(/(\u0178)/ui.test("\xFF"));
|
|
assertTrue(/(\u0178)+/ui.test("\xFF"));
|