The expression (-1 == index $string, "substring") will be true if $string does not contain "substring".
After Compline,
Zaxo
In reply to Re: regex substring negation
by Zaxo
in thread regex substring negation
by spx2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |