()
| 2035 | this.str = str; |
| 2036 | } |
| 2037 | next() { |
| 2038 | const match = this.re.exec(this.str); |
| 2039 | if (match === null) return { done: true }; |
| 2040 | if (match[0].length === 0) this.re.lastIndex++; |
| 2041 | return { value: match }; |
| 2042 | } |
| 2043 | }; |
| 2044 | var RegExpIterable = class { |
| 2045 | constructor(re, flags, str) { |