correct minor error: "имя" is used in place of "name"
This commit is contained in:
parent
7fc037f8f3
commit
787409b30e
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ In the replacement string we use a dollar sign: `pattern:$1`, while in the patte
|
|||
|
||||
If a regexp has many parentheses, it's convenient to give them names.
|
||||
|
||||
To reference a named group we can use `pattern:\k<имя>`.
|
||||
To reference a named group we can use `pattern:\k<name>`.
|
||||
|
||||
In the example below the group with quotes is named `pattern:?<quote>`, so the backreference is `pattern:\k<quote>`:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue