From 914efd0b60acc061b161faa4ebb8bce528793384 Mon Sep 17 00:00:00 2001 From: marcandre Date: Mon, 17 May 2010 21:07:46 +0000 Subject: * proc.c (proc_lambda, unnamed_parameters): Small documentation fixes. * re.c: ditto * string.c: ditto * time.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- re.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 're.c') diff --git a/re.c b/re.c index fc3026c4f3..dddd941515 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] [, lang]) -> regexp + * Regexp.new(string, [options [, lang]]) -> regexp * Regexp.new(regexp) -> regexp - * Regexp.compile(string [, options] [, lang]) -> regexp + * Regexp.compile(string, [options [, lang]]) -> regexp * Regexp.compile(regexp) -> regexp * * Constructs a new regular expression from pattern, which can be either -- cgit v1.2.3