Skip to content

Commit baa30e1

Browse files
committed
Start translation 9-regular-expressions\12-regexp-backreferences
1 parent 95ded40 commit baa30e1

File tree

1 file changed

+5
-5
lines changed
  • 9-regular-expressions/12-regexp-backreferences

1 file changed

+5
-5
lines changed

9-regular-expressions/12-regexp-backreferences/article.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Backreferences in pattern: \N and \k<name>
1+
# Riferimenti all'indietro (backreference) nei pattern: \N e \k<name>
22

3-
We can use the contents of capturing groups `pattern:(...)` not only in the result or in the replacement string, but also in the pattern itself.
3+
Possiamo usare il contenuto dei gruppi di acquisizione `pattern:(...)` non soltanto nel risultato o nella stringa di sostituzione, ma anche all'interno del pattern stesso.
44

5-
## Backreference by number: \N
5+
## Riferimento all'indietro per numero: \N
66

7-
A group can be referenced in the pattern using `pattern:\N`, where `N` is the group number.
7+
Ci si può riferire ad un gruppo nel pattern usando `pattern:\N`, in cui `N` indica il numero del gruppo.
88

9-
To make clear why that's helpful, let's consider a task.
9+
Per comprendere chiaramente perché sia utile, consideriamo l'esercitazione seguente.
1010

1111
We need to find quoted strings: either single-quoted `subject:'...'` or a double-quoted `subject:"..."` -- both variants should match.
1212

0 commit comments

Comments
 (0)