Add work-around for JRuby Regexp issue
Merge pull request #20 from dgolombek/wip/jruby_regexp_compat

Add work-around for JRuby Regexp issue