For a regex, it's a mismatch.  For strings (in strcmp) it's a difference.