> Of coarse...The only problem I have with it is that it
> puts the job of encoding the strings on the user
> instead of the function helper dialog. Let me think
> about it for a bit. Any other opinions?

Maybe a better example would help.

consider:

(unencoded) - ${__regexFunction("[hH]ello, [wW]orld",$1$,1,,,)}

now, it appears to me, your way actually requires the encoding look like:

${__regexFunction("[hH]ello, [wW]orld"\,\$1\$\,1\,\,\,)}

And I'm saying, encode the string literals instead:

${__regexFunction("[hH]ello\, [wW]orld",$1$,1,,,)}

-Mike

Reply via email to