fails:Regexp#encoding defaults to US-ASCII if the Regexp contains only US-ASCII character
fails:Regexp#encoding returns US_ASCII if the 'n' modifier is supplied and only US-ASCII characters are present
fails:Regexp#encoding defaults to UTF-8 if \u escapes appear
fails:Regexp#encoding defaults to UTF-8 if a literal UTF-8 character appears
fails:Regexp#encoding upgrades the encoding to that of an embedded String
critical(JRUBY-4459):Regexp#encoding returns UTF-8 if the 'u' modifier is supplied
critical(JRUBY-4459):Regexp#encoding returns Windows-31J if the 's' modifier is supplied
critical(JRUBY-4459):Regexp#encoding returns EUC_JP if the 'e' modifier is supplied
