Skip to content

Commit 110e178

Browse files
author
Davide Bacchi
committed
Tradotti Esercizi
1 parent d1df411 commit 110e178

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
Solution:
2+
Soluzione:
33

44
```js run
55
let reg = /\.{3,}/g;
6-
alert( "Hello!... How goes?.....".match(reg) ); // ..., .....
6+
alert( "Ciao!... Come va?.....".match(reg) ); // ..., .....
77
```
88

9-
Please note that the dot is a special character, so we have to escape it and insert as `\.`.
9+
Si noti che il punto è un carattere speciale pertanto è stato necessario farne l'escape inserendolo come `\.`.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
importance: 5
1+
Importanza: 5
22

33
---
44

5-
# How to find an ellipsis "..." ?
5+
# Come trovare i puntini di sospensione "..." ?
66

7-
Create a regexp to find ellipsis: 3 (or more?) dots in a row.
7+
Si crei un'espressione regolare che individui i puntini di sospensione: 3 (o più) punti in fila
88

9-
Check it:
9+
Prova:
1010

1111
```js
12-
let reg = /your regexp/g;
13-
alert( "Hello!... How goes?.....".match(reg) ); // ..., .....
12+
let reg = /la tua regex/g;
13+
alert( "Ciao!... come va?.....".match(reg) ); // ..., .....
1414
```

0 commit comments

Comments
 (0)