Project

General

Profile

Activity

From 04/09/2010 to 04/15/2010

04/15/2010

07:17 AM Bug #3147: gsub evaluates the passed in replacement string making results unpredictable when replacement string is dynamically generated
=begin
I use the pattern str.gsub(pattern) { replacement } when I'm not sure
about the replacement. In this case:
...
murphy (Kornelius Kalnbach)
04:56 AM Bug #3147: gsub evaluates the passed in replacement string making results unpredictable when replacement string is dynamically generated
=begin
This at least needs to be documented clearly in gsub. Strings are normally only evaluated once, not twice.
...
wwalker (Wayne Walker)
04:36 AM Bug #3147 (Rejected): gsub evaluates the passed in replacement string making results unpredictable when replacement string is dynamically generated
=begin
"\\\\1", backslash-backslash-one, is a backslash-escaped backslash plus literal 1.
If what you want to get ...
shyouhei (Shyouhei Urabe)
02:29 AM Bug #3147: gsub evaluates the passed in replacement string making results unpredictable when replacement string is dynamically generated
=begin
This bug also exists in :

jruby 1.3.1 (ruby 1.8.6p287) (2009-06-15 2fd6c3d)
ruby 1.9.1p376 (2009-12-07...
wwalker (Wayne Walker)
01:52 AM Bug #3147 (Rejected): gsub evaluates the passed in replacement string making results unpredictable when replacement string is dynamically generated
=begin
after the interpreter evaluates the replacement string (if it's a literal in "" or ''), gsub further evaluate...
wwalker (Wayne Walker)

04/10/2010

02:49 AM Backport #3118: backport r25230 and r25995 to fix segfault
=begin
On Fri, Apr 9, 2010 at 11:45 AM, Matthew Kent <redmine@ruby-lang.org> wrote:
> Backport #3118: backport r252...
wyhaines (Kirk Haines)
02:48 AM Backport #3118: backport r25230 and r25995 to fix segfault
=begin
On Fri, Apr 9, 2010 at 11:45 AM, Matthew Kent <redmine@ruby-lang.org> wrote:
> Backport #3118: backport r252...
wyhaines (Kirk Haines)
02:45 AM Backport #3118 (Assigned): backport r25230 and r25995 to fix segfault
=begin
Spent some time tracking down a segfault introduced in newer versions of 1.8.6.

mkent@el-test:~/git/mat...
mkent (Matthew Kent)
 

Also available in: Atom