Skip to content

Commit c109e35

Browse files
authored
Merge pull request #1256 from paroche/patch-5
Change "occasionally" to "accidentally"
2 parents dd3aede + 5a3a465 commit c109e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ alert( '𝒳'.match(/[𝒳𝒴]/u) ); // 𝒳
7272

7373
Let's see one more example.
7474

75-
If we forget the `u` flag and occasionally use surrogate pairs, then we can get an error:
75+
If we forget the `u` flag and accidentally use surrogate pairs, then we can get an error:
7676

7777
```js run
7878
'𝒳'.match(/[𝒳-𝒴]/); // SyntaxError: invalid range in character class

0 commit comments

Comments
 (0)