Hi,

I am new to Ruby. Can I substitute the value of a
variable into a regular expression? For example:

exp = /(\d+)/ #works
exp = /(\d+)/ + 'some string value' #Not!

Thanks,

S



		
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail