#612: RegexpError: too short escaped multibyte character
---------------------------------+------------------------------------------
Reporter: cehoff...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
---------------------------------+------------------------------------------
Introduced in r3459 it seems that regular expressions that use escape
codes fail with a RegexpError.
MacRuby r3459
{{{
$ macruby -e "p MACRUBY_REVISION; Regexp.compile('[^\0-\177]')"
"git commit b078cfc15060a60cdd72f7764d9c3809bfc1427a"
-e:1:in `<main>': too short escaped multibyte character: /[^\0-\177]/
(RegexpError)
}}}
MacRuby r3458
{{{
$ macruby -e "p MACRUBY_REVISION; Regexp.compile('[^\0-\177]'))"
"git commit 2311cf7d47b64218069fde17de290d75034a0fa3"
}}}
Ruby 1.9.1
{{{
$ ruby -e "p RUBY_VERSION; Regexp.compile('[^\0-\177]')"
"1.9.1"
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/612>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel