On Wed, 19 Nov 2003 23:18:12 +0900, Yukihiro Matsumoto wrote: > In message "Re: $& write-protected?" > on 03/11/19, Simon Strandgaard <qj5nd7l02 / sneakemail.com> writes: > > |[RCR] remove write-protection of $&, $1-$9, $', $`, $+ > |or perhaps let them stay write-protected, but let assignment via const_set > |become possible? > > If you update $~ (the match result), $&, $1, etc. would follow > accordingly. So that the better RCR should be to create MatchData > without built-in regular expression match, I think. Good idea for an RCR. I vote yes immediately for a pure MatchData class ;-) -- Simon Strandgaard