lifo / cramp

Real-time web application framework in Ruby
http://cramp.in
MIT License
1.5k stars 121 forks source link

Invalid Multibyte Escape #32

Closed GBH closed 13 years ago

GBH commented 13 years ago

When running tests via Textmate I constantly get this error:

/Users/oleg/.rvm/gems/ruby-1.9.2-p180/gems/cramp-0.15.1/lib/cramp/callbacks.rb:81: invalid multibyte escape: /\000([^\377]*)\377/ invalid multibyte escape: /^\x00|\xff$/

This fix simply wraps regex in Regexp.new

GBH commented 13 years ago

Sorry, will resubmit