Open SGThr7 opened 3 years ago
In this case, we must use string literal but this extension does not detect regex object with string literal.
const abc = 'def' const reg = new RegExp(`test\\.${abc}`) // match to 'test.def' but can't test
In this case, we must use string literal but this extension does not detect regex object with string literal.