TypeScript-TmLanguage/tests/cases/regexp.ts

3 строки
114 B
TypeScript

var a = /(?:([a-zA-Z_$][\w$])*)/i;
var x = /\s*\b(async\s+)?function\b/g;
var d = /\s*\b(async\s+)?function\b/d;