aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rexml/text.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/text.rb')
-rw-r--r--lib/rexml/text.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/text.rb b/lib/rexml/text.rb
index 281b87890b..fac5ac3e41 100644
--- a/lib/rexml/text.rb
+++ b/lib/rexml/text.rb
@@ -150,7 +150,7 @@ module REXML
end
# context sensitive
- string.scan(pattern).each do
+ string.scan(pattern) do
if $1[-1] != ?;
raise "Illegal character '#{$1}' in raw string \"#{string}\""
elsif $1[0] == ?&