blob: 748522572208b19090eaa72b14f2b98505ae3e05 [file] [log] [blame]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
echo(new RegExp("", "mig").toString());
echo(new RegExp("/").toString());
echo(new RegExp("\\/").toString());
echo(new RegExp("\\\\/").toString());
echo(new RegExp("\\\\\\//").toString());
echo(new RegExp("\n").toString());
echo(new RegExp("\\\n").toString());
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
var web;
function echo(o) {
if (web)
document.write(o + "<br/>");
else {
try {
WScript.Echo("" + o);
} catch (ex) {
print("" + o);
}
}
}