fix: typo
This commit is contained in:
parent
7000ede297
commit
b6939271e8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue