Subject: bug#6388: Should not match data be set on misses?

From: Lennart Borgman <[email-masked]>
Date: Thu, 10 Jun 2010 02:42:59 +0200

(let ((ret (re-search-forward "some weird thing" (point-at-eol) t)))
  (message "ret=%s, mb0=%s, 1" ret (match-beginning 0) (match-beginning 1)))

gives me messages like

   ret=nil, mb0=517, 1

I expected

   ret=nil, mb0=nil, nil