Unfortunately I'll be a totally different pattern though. Dispite the looks of it, qr() is not a function call. It's a quote operator with () as delimiters. You need to either interpolate the join() call (with e.g. @{[join ...]}), or just do $regex = qr/$regex/.
Update: Had misplaced the parenthesis.
ihbIn reply to Re: Re: Re: Dynamic regexp from array values
by ihb
in thread Dynamic regexp from array values
by Heidegger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |