It's working, but I'm unable to find any notes in documentation about is it legal and safe. AFAIK die working like longjmp() in C, and I've no idea what can be broken in regular expression engine if I leave it with longjmp().$a="qwe"; $a =~ s/(\w)/ $1 ne "w" ? $1 : croak "w is bad" /ge;
In reply to die in regexp by powerman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |