in reply to Re: Forcing a regex to fail
in thread Forcing a regex to fail

You need to move the capturing parens from the split to the the qr//.

I like your solution, but as noted in the original query, I can't change the split line. tye's solution is the way I've gone. It works quite nicely.

Cheers,
Ovid

New address of my CGI Course.