\\
\\字符
\\n
\\r
\\t
\\r\\n
\\r
\\n
const reg = new RegExp('^Test')
reg.test('Test 123')
true'test 123'.match(reg)
nulli
var reg = new RegExp('Test', 'i'),
str = 'This is a test';
console.log(reg.test(str)); // true
var reg = new RegExp('Test', 'i'),
str = 'This is a test, Test is important';
console.log(str.match(reg));