Debian Codegraph @

js/src/tests/non262/RegExp/regress-24712.js

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