Debian Codegraph @

rhino/testsrc/tests/ecma_3/RegExp/regress-24712.js

raw symbols SCIP
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7 var gTestfile = 'regress-24712.js';
8
9 test();
10
11 function test()
12 {
13 enterFunc ("test");
14
15 printBugNumber (24712);
16
17 var re = /([\S]+([ \t]+[\S]+)*)[ \t]*=[ \t]*[\S]+/;
18 var result = re.exec("Course_Creator = Test") + '';
19
20 reportCompare('Course_Creator = Test,Course_Creator,', result, 'exec() returned null');
21
22 exitFunc ("test");
23
24 }
25