No, I'm an idiot and didn't. What I initially wrote was buggy and didn't work. Two problems: the expression wasn't being evaluated properly and the eval wasn't done correctly. The *right* way to do that eval (though an eval() isn't right in this case at all) was to do eval "print \"$str\"";.
So my bad. I fixed the node so it's not buggy and has some actual good advice.
In reply to Re: Re: Re: Regex frustration
by diotalevi
in thread Regex frustration
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |