Tricky. I don't think you can do it without the eval. Unless the /ee option does the trick as ikegami suggests.
I ran into a similar problem and had to use eval. I am very much interested if there is another way of doing this. Your suggestion of re-interpolation sounds nice but is probably very tricky to implement.
In reply to Re: reinterpolation of regexp (and strings?)
by dHarry
in thread reinterpolation of regexp (and strings?)
by AlwaysLearning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |