#749: Regexp issues / crashes affecting StringScanner ------------------------------------+--------------------------------------- Reporter: kitchen.andy@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.7 Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- Old description:
StringScanner fails to match a certain regular expressions properly. and diverges from MRI.
New description: StringScanner fails to match a certain regular expressions properly. and diverges from MRI. [EDIT] See comments. -- Comment(by martinlagardette@…): Infinite loop uses this loop: {{{ #!ruby while ss.skip_until(/class(?![^ \n])|def(?![^ \n])/) }}} The segfault one is the same with the addition of surrounding parenthesis: {{{ #!ruby while ss.skip_until(/(class(?![^ \n])|def(?![^ \n]))/) }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/749#comment:2> MacRuby <http://macruby.org/>