From: Dirk Einecke Date: 2004-07-12T02:42:25+09:00 Subject: Re: Syntax question for gsub Hi. Marcin Miel�y�ski wrote: > It should work for any tag But I do not unterstand this: gsub!( /<(.+)>(.*?)<\/\1>/ ) { "<#{$1}>foo" } How this code take the var "tagName" ? greetings Dirk Einecke