Hi Alan,_______________________________________________Thanks for the report. Please file a ticket: http://www.macruby.org/trac/newticketDo you happen to know if a ruby library makes use of this? It can help us screen the priority of this bug.Thanks :)LaurentOn Dec 21, 2010, at 2:01 PM, Alan Skipp wrote:When combining negative look-ahead with look-behind in a regexp, macruby doesn't match correctly. Here's an example.
ruby 1.9.2=> #<MatchData "123" 1:"123">m = "abc123abc".match /(?<=\w) (\d{3}) (?!\d)/x=> "123"m.to_s
macruby (0.9)=> #<MatchData "" 1:"123">m = "abc123abc".match /(?<=\w) (\d{3}) (?!\d)/x=> ""m.to_s
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel