Project

General

Profile

Actions

Backport #2477

closed

String#split should be ASCII sensitive

Added by naruse (Yui NARUSE) over 14 years ago. Updated over 4 years ago.

Status:
Closed
[ruby-dev:39881]

Description

=begin
If r24544 is backported, r24934 is also worth backported.

Author: naruse
Date: Tue Sep 15 05:27:29 2009 +0000

 Use rb_isspace for ASCII-incompatible strings.
 
 * string.c (rb_str_split_m): use rb_isspace when the string
   may be ASCII-incompatible.
   (rb_str_lstrip_bang): ditto.
   (rb_str_rstrip_bang): ditto.

=end


Related issues 1 (0 open1 closed)

Related to Ruby master - Feature #2093: String#stripの対象は\sか[:space:]かClosedmatz (Yukihiro Matsumoto)09/13/2009Actions
Actions #1

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Description updated (diff)
  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF

Like0
Like0