( hit: RegExpMatchArray )
| 150 | } |
| 151 | |
| 152 | function hasIndex( |
| 153 | hit: RegExpMatchArray |
| 154 | ): hit is RegExpMatchArray & { index: number } { |
| 155 | return hit.index !== undefined; |
| 156 | } |
| 157 | |
| 158 | function getIndicesOf(pattern: string, text: string) { |
| 159 | let startIndex = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected