Merge pull request #3131 from leviding/patch-3

fix: typo
This commit is contained in:
Ilya Kantor 2022-08-14 14:31:41 +03:00 committed by GitHub
commit f9e0a8b171
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,7 +142,7 @@ Let's use it to look for prices in the format "currency, followed by a digit":
```js run
let regexp = /\p{Sc}\d/gu;
let str = `Prices: $2, €1, ¥9`;
let str = `Prices: $2, €1, ¥9`;
alert( str.match(regexp) ); // $2,€1,¥9
```