ruby-changes:71353
From: Kazuhiro <ko1@a...>
Date: Thu, 10 Mar 2022 10:47:18 +0900 (JST)
Subject: [ruby-changes:71353] ee5bf4cac2 (master): [DOC] Remove an unnecessary character [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=ee5bf4cac2 From ee5bf4cac2a4244d8b4b93d3b5f60521e56a16ad Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Thu, 10 Mar 2022 10:45:28 +0900 Subject: [DOC] Remove an unnecessary character [ci skip] --- doc/character_selectors.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/character_selectors.rdoc b/doc/character_selectors.rdoc index 9bc477ea71..dc55491a26 100644 --- a/doc/character_selectors.rdoc +++ b/doc/character_selectors.rdoc @@ -35,7 +35,7 @@ Note that order and repetitions do not matter: https://github.com/ruby/ruby/blob/trunk/doc/character_selectors.rdoc#L35 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" -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/