From: Tanaka Akira Date: 2007-12-21T06:24:35+09:00 Subject: Re: named captures assigning to local variables In article , David Flanagan writes: > How about making the return value an array of the captured strings, or nil > if there was no match? Another idea is $~, which is a MatchData or nil. -- Tanaka Akira