From bda02ffe2dbba4c3a7174a6bd14fd98b200eb13f Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 16 Oct 2008 22:39:04 +0000 Subject: * re.c (rb_reg_initialize_m): changed the message to clarify the third option argument is now ignored. [ruby-dev:36753] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- re.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 're.c') diff --git a/re.c b/re.c index 03d9dc352..48a12ee3b 100644 --- a/re.c +++ b/re.c @@ -2798,7 +2798,7 @@ rb_reg_initialize_m(int argc, VALUE *argv, VALUE self) flags |= ARG_ENCODING_FIXED; } else { - rb_warning("encoding option is obsolete - %s", kcode); + rb_warn("encoding option is ignored - %s", kcode); } } str = argv[0]; -- cgit