[MacRuby] #1071: When combining negative look-ahead with look-behind in a regexp, macruby doesn't match correctly
#1071: When combining negative look-ahead with look-behind in a regexp, macruby doesn't match correctly ----------------------------------+----------------------------------------- Reporter: al_skipp@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- ruby 1.9.2 {{{
m = "abc123abc".match /(?<=\w) (\d{3}) (?!\d)/x => #<MatchData "123" 1:"123"> m.to_s => "123" }}}
macruby 0.9 {{{
m = "abc123abc".match /(?<=\w) (\d{3}) (?!\d)/x => #<MatchData "" 1:"123"> m.to_s => "" }}}
-- Ticket URL: <http://www.macruby.org/trac/ticket/1071> MacRuby <http://macruby.org/>
#1071: When combining negative look-ahead with look-behind in a regexp, macruby doesn't match correctly ----------------------------------+----------------------------------------- Reporter: al_skipp@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: duplicate Keywords: | ----------------------------------+----------------------------------------- Changes (by watson1978@…): * status: new => closed * resolution: => duplicate Comment: This issue is duplicate #1016. -- Ticket URL: <http://www.macruby.org/trac/ticket/1071#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby