summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-17 21:07:46 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-17 21:07:46 +0000
commit914efd0b60acc061b161faa4ebb8bce528793384 (patch)
tree309d77e8144ea771734c9ffd32ac602615fd34b1 /re.c
parent410ae9d41bc12e5de6d870498ae37d142a6af673 (diff)
* 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
Diffstat (limited to 're.c')
-rw-r--r--re.c4
1 files changed, 2 insertions, 2 deletions
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 <i>pattern</i>, which can be either