Yukihiro Matsumoto
9/12/2006 3:06:00 PM
Hi,
In message "Re: Ruby 1.9 Syntax"
on Tue, 12 Sep 2006 23:51:44 +0900, James Edward Gray II <james@grayproductions.net> writes:
|A quick Ruby 1.9 question: I know you can now get at Oniguruma's
|named captures from MatchData objects, but is there a syntax for
|using them is a sub() replacement string?
As far as I know, '\k<word>' should do.
matz.