Skip to content

Commit 6c793d8

Browse files
joaquineliocortizg
andauthored
Update 9-regular-expressions/03-regexp-unicode/article.md
Co-authored-by: Carlos Ortiz Gutiérrez <56600925+cortizg@users.noreply.github.com>
1 parent 7d86b2b commit 6c793d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

9-regular-expressions/03-regexp-unicode/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Hay una propiedad Unicode `Script` (un sistema de escritura), que puede tener un
132132
Para buscar caracteres de un sistema de escritura dado, debemos usar `pattern:Script=<value>`, por ejemplo para letras cirílicas: `pattern:\p{sc=Cyrillic}`, para sinogramas chinos: `pattern:\p{sc=Han}`, y así sucesivamente:
133133

134134
```js run
135-
let regexp = /\p{sc=Han}/gu; // devuelve jeroglíficos chinos
135+
let regexp = /\p{sc=Han}/gu; // devuelve sinogramas chinos
136136

137137
let str = `Hello Привет 你好 123_456`;
138138

0 commit comments

Comments
 (0)