[Fix #1262] Handle variable interpolation in regexp and backtick literals