[#30589] [Bug #3391] Use single exclamation mark instead of double exclamation mark for IRB — Diego Viola <redmine@...>

Bug #3391: Use single exclamation mark instead of double exclamation mark for IRB

10 messages 2010/06/04

[#30672] [Bug #3411] Time.local 1916,5,1 #=> 1916-04-30 23:00:00 +0100 — Benoit Daloze <redmine@...>

Bug #3411: Time.local 1916,5,1 #=> 1916-04-30 23:00:00 +0100

12 messages 2010/06/08

[#30699] [Bug #3419] 1.9.2-preview3 possible bug with Rails 3 active_record sqlite_adapter — Joe Sak <redmine@...>

Bug #3419: 1.9.2-preview3 possible bug with Rails 3 active_record sqlite_adapter

9 messages 2010/06/09

[#30734] [Bug #3428] ri outputs ansi escape sequences even when stdout is not a tty — caleb clausen <redmine@...>

Bug #3428: ri outputs ansi escape sequences even when stdout is not a tty

11 messages 2010/06/11

[#30756] [Feature #3436] Spawn the timer thread lazily — Maximilian Gass <redmine@...>

Feature #3436: Spawn the timer thread lazily

15 messages 2010/06/13
[#32686] [Ruby 1.9-Feature#3436] Spawn the timer thread lazily — Mark Somerville <redmine@...> 2010/10/04

Issue #3436 has been updated by Mark Somerville.

[ruby-core:30954] [PATCH] lib/rexml/text.rb: remove unused definition of EREFERENCE

From: Jim Meyering <jim@...>
Date: 2010-06-29 08:59:57 UTC
List: ruby-core #30954
This is obviously not a big deal, but the clean-up might be welcome...
ruby -v: ruby 1.9.3dev (2010-06-29 trunk 28473) [x86_64-linux]

From b09d0e800d332d62bced6e387e3883602caea6db Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Tue, 29 Jun 2010 10:56:31 +0200
Subject: [PATCH] lib/rexml/text.rb: remove unused definition of EREFERENCE

* lib/rexml/text.rb (EREFERENCE): Remove definition; unused.
Remove stale comment.
---
 lib/rexml/text.rb |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/lib/rexml/text.rb b/lib/rexml/text.rb
index 05d5341..6adb456 100644
--- a/lib/rexml/text.rb
+++ b/lib/rexml/text.rb
@@ -355,12 +355,10 @@ module REXML
       copy
     end

-    EREFERENCE = /&(?!#{Entity::NAME};)/
     # Escapes all possible entities
     def Text::normalize( input, doctype=nil, entity_filter=nil )
       copy = input.to_s
       # Doing it like this rather than in a loop improves the speed
-      #copy = copy.gsub( EREFERENCE, '&amp;' )
       copy = copy.gsub( "&", "&amp;" )
       if doctype
         # Replace all ampersands that aren't part of an entity
--
1.7.2.rc0.206.g3336

In This Thread

Prev Next