require 'strscan.jar' JRuby::Util.load_ext("org.jruby.ext.strscan.StringScannerLibrary")