in reply to regex substring negation

The expression (-1 == index $string, "substring") will be true if $string does not contain "substring".

After Compline,
Zaxo