diff --git a/re.c b/re.c
index 2789120cd4..b1e5c1d34d 100644
--- a/re.c
+++ b/re.c
@@ -2836,9 +2836,9 @@ rb_reg_match_m(int argc, VALUE *argv, VALUE re)
/*
* call-seq:
- * Regexp.new(string [, options]) => regexp
+ * Regexp.new(string [, options] [, lang]) => regexp
* Regexp.new(regexp) => regexp
- * Regexp.compile(string [, options]) => regexp
+ * Regexp.compile(string [, options] [, lang]) => regexp
* Regexp.compile(regexp) => regexp
*
* Constructs a new regular expression from pattern, which can be either
@@ -2849,6 +2849,7 @@ rb_reg_match_m(int argc, VALUE *argv, VALUE re)
* Regexp::IGNORECASE
, and Regexp::MULTILINE
,
* or-ed together. Otherwise, if options is not
* nil
, the regexp will be case insensitive.
+ * When the lang parameter is `n' or `N' sets the regexp no encoding.
*
* r1 = Regexp.new('^a-z+:\\s+\w+') #=> /^a-z+:\s+\w+/
* r2 = Regexp.new('cat', true) #=> /cat/i