Skip to content

Commit a5e74b8

Browse files
Update 9-regular-expressions/11-regexp-groups/article.md
Co-authored-by: joaquinelio <[email protected]>
1 parent 46f5f90 commit a5e74b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

9-regular-expressions/11-regexp-groups/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ for(let result of results) {
229229
let [tag1, tag2] = '<h1> <h2>'.matchAll(/<(.*?)>/gi);
230230
```
231231

232-
Cada coincidencia, devuelta por `matchAll`, tiene el mismo formato al que es devuelto por `match` sin el flag `pattern:g`: es un array con propiedades adicionales `index` (coincide índice en el string) e `input` (fuente string):
232+
Cada coincidencia devuelta por `matchAll` tiene el mismo formato que el devuelto por `match` sin el flag `pattern:g`: es un array con propiedades adicionales `index` (coincide índice en el string) e `input` (fuente string):
233233

234234
```js run
235235
let results = '<h1> <h2>'.matchAll(/<(.*?)>/gi);

0 commit comments

Comments
 (0)