[MacRuby-devel] [MacRuby] #612: RegexpError: too short escaped multibyte character
MacRuby
ruby-noreply at macosforge.org
Mon Feb 8 23:38:09 PST 2010
#612: RegexpError: too short escaped multibyte character
---------------------------------+------------------------------------------
Reporter: cehoffman@… | Owner: lsansonetti@…
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/>
More information about the MacRuby-devel
mailing list