summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
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