mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Remove an unnecessary character [ci skip]
This commit is contained in:
parent
cadfeb36d1
commit
ee5bf4cac2
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue