samples/es6-rm_ws-true.js
///<reference types="node"/>
var i = 10000 / 111.77; /[*]/.test(i);
{ i = "aaa\"" } /aaa/.test(i);
var i = 10000 / 111.77; /\][*]/.test(i);
console.log(
[
/\s*\(\?#.*\)\/[/*[)(?\]]\s*$|#\s.*$|\s+/
]
);
let gg = 10;
var re = 10000 / 111.77 * gg /gg;;;;
const re4 = /\s*\(\?#.*\)\/[/*[)(?\]]\s*$|#\s.*$|\s+/
const nnn = 123 /+"2" * gg
let ok2 = 12.2 / 33 * .9
let ok3 = 12.2 / 33 * .9
const test_text = `:Key Binding:${ 234 }}
// ^ <- parse by class BackQuoteScanner
}
about [alt+A]
${
"nest-1:" + `:Key Binding:${ 234 }}
}
${
"nest-2:" + `:Key Binding:${ `let abc = ${
Boolean("")
}` }}
}
// comment line in backquote
${
"nest-3:" + `:Key Binding:${ 234 }}
}
// comment line in backquote
:On comment:\`\ \"\`\"\\
------------------------------[ X ]`
}
:On comment:\`\ \"\`\"\\
------------------------------[ X ]`
}
:On comment:\`\ \"\`\"\\
------------------------------[ X ]`
}
:On comment:\`\ \"\`\"\\
------------------------------[ X ]`;
;
const $3 = { keyCode: $1, key: "$5\"this is\
^ <- parse by class QuoteScanner\
test" };
const gm = 234;
; ;; ;
var i = 100 / 10 * 123.555/gm;
var HTMLIZE_TEXT = {
title: `/anything/g`,
description: '--- nothing ---',
qre: "/(<button)\\s+([\\w\\-]+(?:=\"[^\"]+\")?)?\\s*([\\w\\-]+(?:=\"[^\"]+\")?)?\\s*([\\w\\-]+(?:=\"[^\"]+\")?)?\\s*([\\w\\-]+(?:=\"[^\"]+\")?)?\\s*([\\w\\-]+(?:=\"[^\"]+\")?)?\\s*([\\w\\-]+(?:=\"[^\"]+\")?)?\\s*([\\w\\-]+(?:=\"[^\"]+\")?)?\\s*(>.*<\\/button>)/g.toString()",
re: /(<button)\s+([\w\-]+(?:="[^"]+")?)?\s*([\w\-]+(?:="[^"]+")?)?\s*([\w\-]+(?:=`[^`]+`)?)?\s*([\w\-]+(?:="[^"]+")?)?\s*([\w\-]+(?:="[^"]+")?)?\s*([\w\-]+(?:="[^"]+")?)?\s*([\w\-]+(?:="[^"]+")?)?\s*(>.*<\/button>)/g.toString(),
ere: `(^:[\\w ]+:\$)| (?#heading text)
(^[\\w ]+)(\\[[\\w\\+]+\\])| (?#text item)
(?:([\\-]+)(\\[ X \\])) (?#emulate close button)`,
flags: "",
test_text: `:Key Binding:{}
}
:On comment:\`\ \"\`\"\\
------------------------------[ X ]`,
test_textQ: ":Key Binding:\
\
:On comment:\`\ \"\`\"\
------------------------------[ X ]",
test_textS: ':Key Binding:\
\
:On comment:\`\ \' \"\`\"\
------------------------------[ X ]',
timestamp: 1499535241972
};
let name = "apple";
const templete = `function ${name}($) {
// comment line.
var some = ${
`12.5 / 50 * 100,
// might be a very important comment line.
things = "${ name + `anything` }",
obj={ "\\\\": null }`
}, unused = \`length is ${name.length}\` || undefined;
/**
* multi line comment...
*/
return true;
}
`;
;