Return the index matching REGEXP ARG places along the input ring. Moves relative to START, or `comint-input-ring-index'. (fn REGEXP ARG &optional START)