/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
//----------------------------------------------------------------------------- var BUGNUMBER = 274888; var summary = 'Negative lookahead should match at positions > approx. 64k'; var actual = ''; var expect = '';
printBugNumber(BUGNUMBER);
printStatus (summary);
var re; var status; var s;
re = /(?!\d)a/;
status = summary + ' ' + inSection(1) + ' /(?!\\d)a/.text("12345a")';
s = '12345a';
expect = true;
actual = re.test(s);
reportCompare(expect, actual, status);
re = /(?!\d)a/;
status = summary + ' ' + inSection(2) + ' ' + '/(?!\\d)a/.text("1...ka")';
--> --------------------
--> maximum size reached
--> --------------------
Messung V0.5
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.