Projects

Ticket #807 (closed defect: fixed)

Opened 19 months ago

Last modified 19 months ago

rack does not work due to regexp compilation error

Reported by: macruby@… Owned by: lsansonetti@…
Priority: critical Milestone: MacRuby 0.7
Component: MacRuby Keywords:
Cc:

Description

macruby-0.6 > require 'rack/request' /Users/aman/.rvm/gems/macruby-0.6/gems/rack-1.2.1/lib/rack/request.rb:152: regexp `\0\z 'compilation error: U_REGEX_BAD_ESCAPE_SEQUENCE SyntaxError: compile error

Change History

Changed 19 months ago by joshua.ballanco@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to MacRuby 0.7

This is already fixed in trunk.

> macruby -e 'p "test" =~ /\0\z/'
nil

> macruby -e 'p "test\0" =~ /\0\z/'
4

> macruby -v
MacRuby 0.7 (ruby 1.9.2)
Note: See TracTickets for help on using tickets.