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
>
>