isearch-fail-pos

isearch-fail-pos is a compiled Lisp function in `isearch.el'.

(isearch-fail-pos &optional MSG)

Return position of first mismatch in search string, or nil if none.
If MSG is non-nil, use variable `isearch-message', otherwise `isearch-string'.