Deleted... Misunderstood the issue...
In reply to Re: Evaluating code in a regex at runtime: (??{...}) by Kenosis in thread Evaluating code in a regex at runtime: (??{...}) by 7stud