From: Simon Schuster Date: 2007-08-17T08:20:21+09:00 Subject: Re: backticks whoa, can you explain a little what's going on here? I tried it and changed it around in irb but I can't really figure out what's going on. > > For added fun, try string interpolation inside regular expressions! > > haystack = "foobarbaz" > needle = "bar" > > haystack =~ /#{needle}/ > => 3 > > yeah :D > >