fixed typo
This commit is contained in:
parent
ccc0e9327f
commit
c0cf5a8251
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ We can use special characters in it:
|
|||
|`$&`|the whole match|
|
||||
|<code>$`</code>|a part of the string before the match|
|
||||
|`$'`|a part of the string after the match|
|
||||
|`$n`|if `n` is a 1-2 digit number, then it means the contents of n-th parentheses counting fro left to right|
|
||||
|`$n`|if `n` is a 1-2 digit number, then it means the contents of n-th parentheses counting from left to right|
|
||||
|
||||
For instance let's use `$&` to replace all entries of `"John"` by `"Mr.John"`:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue