diff options
Diffstat (limited to 'doc/character_selectors.rdoc')
-rw-r--r-- | doc/character_selectors.rdoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/character_selectors.rdoc b/doc/character_selectors.rdoc index e01b0e6a25..47cf242be7 100644 --- a/doc/character_selectors.rdoc +++ b/doc/character_selectors.rdoc @@ -1,6 +1,6 @@ -== Character Selectors += Character Selectors -=== Character Selector +== Character Selector A _character_ _selector_ is a string argument accepted by certain Ruby methods. Each of these instance methods accepts one or more character selectors: @@ -70,7 +70,7 @@ In a character selector, these three characters get special treatment: "hello\r\nworld".delete("\\r") # => "hello\r\nwold" "hello\r\nworld".delete("\\\r") # => "hello\nworld" -=== Multiple Character Selectors +== Multiple Character Selectors These instance methods accept multiple character selectors: |