Why the definition of "show regex" doesn't work in a function?

This looks like a duplicate of this post:

Edit: not exactly, but I think the answer there will help you a lot.

1 Like