From ac19769719846acc72a0ffe13995e1a8797ae5c0 Mon Sep 17 00:00:00 2001 From: gsinclair Date: Sun, 22 Feb 2004 00:52:38 +0000 Subject: * re.c: corrected documentation format (rb_reg_initialize_m) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5801 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 b2811df14e..cc2b5e16b6 100644 --- a/re.c +++ b/re.c @@ -1621,7 +1621,7 @@ rb_reg_match_m(re, str) * call-seq: * 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 @@ -1634,7 +1634,7 @@ rb_reg_match_m(re, str) * nil, the regexp will be case insensitive. The lang * parameter enables multibyte support for the regexp: `n', `N' = none, `e', * `E' = EUC, `s', `S' = SJIS, `u', `U' = UTF-8. - * + * * r1 = Regexp.new('^a-z+:\\s+\w+') #=> /^a-z+:\s+\w+/ * r2 = Regexp.new('cat', true) #=> /cat/i * r3 = Regexp.new('dog', Regexp::EXTENDED) #=> /dog/x -- cgit v1.2.3