From: daniel Date: 2003-01-12T18:48:34+09:00 Subject: Re: a smart way... Daniel Carrera schrieb in im Newsbeitrag: Pine.GSO.4.44.0301112014240.757-100000@demoivre.math.umd.edu... > Hi Daniel, > > The brackets () in a regular expression cause Ruby to "remember" the > matches. The first match is stored in $1, the second in $2 and so on. > > [...] This works fine ;-) thx, daniel