> Is there a shortcut to embed a variable String within
> a regex?
>
> Something like :
> myString =~ /$(myVariable)_\d\d\d/

I think that

myString =~ /#{myVariable}_\d\d\d/

does what you want.

Daniel.