Ticket #612 (closed defect: fixed)
RegexpError: U_REGEX_BAD_ESCAPE_SEQUENCE
| Reported by: | cehoffman@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby 0.7 |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
Introduced in r3459 it seems that regular expressions that use escape codes fail with a RegexpError.
$ 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 -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"
Change History
Note: See
TracTickets for help on using
tickets.

