Hi,
In message "Re: [ruby-core:20167] Re: \Z? in regular expression in 1.9.1"
on Sun, 30 Nov 2008 04:17:22 +0900, Brian Candler <B.Candler / pobox.com> writes:
|That's gotta be a bug, and is potentially dangerous:
|
|irb(main):001:0> puts "phooey" if /a/.match("bcde")
|=> nil
|irb(main):002:0> puts "phooey" if /a\Z?/.match("bcde")
|phooey
|=> nil
Aargh, I will fix somehow. Maybe by making it strict again. Sorry
anyway.
matz.