From: "trans. (T. Onoma)" Date: 2004-10-24T12:41:21+09:00 Subject: pre_match and post_match for subexpressions md = /(X)(Y)(Z)/.match "<<>>" md.pre_match(2) #=> "<< "Z>>>" T.