From: Paul Melis Date: 2002-12-01T00:59:06+09:00 Subject: Re: Scope of regex match $variables "Martin DeMello" wrote in message news:NX3G9.135966$ka.3103955@news1.calgary.shaw.ca... > Yeah, but I can't figure out a way to make them local to the calling > scope, the way an actual Regexp#match call would. Why not simply return the MatchData object from your function? Paul