From 430f4da042f9c49840d4607fdc20ebccd348676a Mon Sep 17 00:00:00 2001 From: drbrain Date: Mon, 24 Oct 2011 21:35:05 +0000 Subject: * re.c (match_aref): Use around indexing examples to prevent hyperlinks. [ruby-talk:389396] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- re.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 're.c') diff --git a/re.c b/re.c index 6484baa664..add296373d 100644 --- a/re.c +++ b/re.c @@ -1674,11 +1674,12 @@ name_to_backref_number(struct re_registers *regs, VALUE regexp, const char* name * mtch[range] -> array * mtch[name] -> str or nil * - * Match Reference---MatchData acts as an array, and may be - * accessed using the normal array indexing techniques. mtch[0] is - * equivalent to the special variable $&, and returns the entire - * matched string. mtch[1], mtch[2], and so on return the values - * of the matched backreferences (portions of the pattern between parentheses). + * Match Reference -- MatchData acts as an array, and may be + * accessed using the normal array indexing techniques. mtch[0] + * is equivalent to the special variable $&, and returns the + * entire matched string. mtch[1], mtch[2], and so + * on return the values of the matched backreferences (portions of the + * pattern between parentheses). * * m = /(.)(.)(\d+)(\d)/.match("THX1138.") * m #=> # -- cgit v1.2.3