Merge pull request #270 from ematte/patch-2

fixed typo
This commit is contained in:
Ilya Kantor 2017-11-01 10:44:52 +03:00 committed by GitHub
commit 6353874056
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,7 +153,7 @@ We can use special characters in it:
|`$&`|the whole match|
|<code>$&#096;</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"`: