aboutsummaryrefslogtreecommitdiffstats
path: root/re.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-12 02:17:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-12 02:17:58 +0000
commitfa00720d87eb91a2b1914f47716e70a887101fcc (patch)
tree90fa9fa6cbd867e9554af416f98c8d8cca39ad3e /re.c
parentce312df0f35552a44819c8fcf88d861c291016a0 (diff)
downloadruby-fa00720d87eb91a2b1914f47716e70a887101fcc.tar.gz
Update re.c [ci skip]
* re.c (rb_reg_initialize_m): [DOC] fix missing right bracket. [Fix GH-1243] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index 37798ea00f..4350947883 100644
--- a/re.c
+++ b/re.c
@@ -3060,7 +3060,7 @@ rb_reg_match_m(int argc, VALUE *argv, VALUE re)
* call-seq:
* Regexp.new(string, [options]) -> regexp
* Regexp.new(regexp) -> regexp
- * Regexp.compile(string, [options) -> regexp
+ * Regexp.compile(string, [options]) -> regexp
* Regexp.compile(regexp) -> regexp
*
* Constructs a new regular expression from +pattern+, which can be either a