summaryrefslogtreecommitdiff
path: root/lib/csv.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csv.rb')
-rw-r--r--lib/csv.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csv.rb b/lib/csv.rb
index 774f9c3ef3..8adc2973b9 100644
--- a/lib/csv.rb
+++ b/lib/csv.rb
@@ -2238,10 +2238,10 @@ class CSV
end
#
- # This method is an encoding safe version of Regexp::escape(). I will escape
+ # This method is an encoding safe version of Regexp::escape(). It will escape
# any characters that would change the meaning of a regular expression in the
# encoding of +str+. Regular expression characters that cannot be transcoded
- # to the target encodign will be skipped and no escaping will be performed if
+ # to the target encoding will be skipped and no escaping will be performed if
# a backslash cannot be transcoded.
#
def escape_re(str)