janx / chardet2

Universal Encoding Detector
GNU Lesser General Public License v2.1
23 stars 9 forks source link

Adding support for ruby 2.0.0 #5

Closed fotanus closed 11 years ago

fotanus commented 11 years ago

This patch adds support for ruby 2.0.0. It is the second version - the first one is the pull 4

So this changes the regexps to /regexp/n instead of Regexp.new(regexp, nil, 'n').

janx commented 11 years ago

@fotanus Thanks!

fotanus commented 11 years ago

Thank you for have done the hard work earlier :-)