TypeScript문자열matchAll

matchAll문자열

정규식의 모든 매칭 결과를 반환합니다.

문법

str.matchAll(regexp): IterableIterator<RegExpMatchArray>