From: Oky Date: 2006-04-06T08:39:00+09:00 Subject: Re: Copying $1.. A loop with two regular expressions Hi Hal, Thank you for your reply No i'm not trying to use a command line argument, just use a loop which uses two regular expression. After having a fresh look at the code i spotted my mistake (url = $1 should have been url = $') and it seams to work now. Although I still don't understand why I can't copy the $1 variable (doller_one = $1 equals nil?) but it doesn't matter to much now as ruby lets you copy the $' variable. Thank very much for taking the time to reply Oky -- Posted via http://www.ruby-forum.com/.