wycats/parsejs — pull request #3 by lsegal (2013-02-05 23:58:24+00:00)
Title: Fix regexp in generated Ruby grammar to be compatible with 1.9 encodings

In Ruby 1.9 parsejs raises this error:

```
../lib/parsejs/grammar.kpeg.rb:941: invalid multibyte escape: /\A(?-mix:[\x00-\xff])/
```

The grammar.kpeg properly lists the regexp with the //n suffix, but the translation layer is not adding the suffix to the generated Ruby output. I'm not sure what tool is used to generate the output, so I've manually adjusted the Ruby code. I assume the third party tool has to be fixed to support this.