Merge pull request #2 from strzibny/regexps-ascii-8bit-fix

Fix encoding of regexps for Ruby 2.0
Merge upstream (already included)