зеркало из https://github.com/github/ruby.git
[DOC] Remove an unnecessary character [ci skip]
This commit is contained in:
Родитель
cadfeb36d1
Коммит
ee5bf4cac2
|
@ -35,7 +35,7 @@ Note that order and repetitions do not matter:
|
|||
|
||||
In a character selector, these three characters get special treatment:
|
||||
|
||||
- A leading caret (<tt>'^'</tt>') functions as a "not" operator
|
||||
- A leading caret (<tt>'^'</tt>) functions as a "not" operator
|
||||
for the characters to its right:
|
||||
|
||||
'abracadabra'.delete('^bc') # => "bcb"
|
||||
|
|
Загрузка…
Ссылка в новой задаче