Subject: bug#7735: A questing mark at the end of a string in ruby-mode

From: Lennart Borgman <[email-masked]>
Date: Sun, 26 Dec 2010 00:28:04 +0100

A question mark at the end of a string makes ruby-mode believe the
string does not end there.

To show this place the following in a ruby-mode buffer:

  re_str = wild.join(".*?")
  re = Regexp.new(re_str, 1)

GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-12-15