Uses of Enum
org.jruby.util.RegexpSupport.ErrorMode
Packages that use RegexpSupport.ErrorMode
-
Uses of RegexpSupport.ErrorMode in org.jruby
Methods in org.jruby with parameters of type RegexpSupport.ErrorModeModifier and TypeMethodDescriptionprivate static org.joni.RegexRubyRegexp.getPreprocessedRegexpFromCache(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, RegexpOptions options, RegexpSupport.ErrorMode mode) private static voidRubyRegexp.preprocessLight(Ruby runtime, ByteList str, org.jcodings.Encoding enc, org.jcodings.Encoding[] fixedEnc, RegexpSupport.ErrorMode mode) Preprocess the given string for use in regexp, raising errors for encoding incompatibilities that arise. -
Uses of RegexpSupport.ErrorMode in org.jruby.util
Methods in org.jruby.util that return RegexpSupport.ErrorModeModifier and TypeMethodDescriptionstatic RegexpSupport.ErrorModeReturns the enum constant of this type with the specified name.static RegexpSupport.ErrorMode[]RegexpSupport.ErrorMode.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.jruby.util with parameters of type RegexpSupport.ErrorModeModifier and TypeMethodDescriptionprivate static voidRegexpSupport.appendUtf8(Ruby runtime, ByteList to, int code, org.jcodings.Encoding[] enc, ByteList str, RegexpSupport.ErrorMode mode) Append the given utf8 characters to the buffer, if given, checking for errors along the way.private static voidRegexpSupport.checkUnicodeRange(Ruby runtime, int code, ByteList str, RegexpSupport.ErrorMode mode) static ByteListRegexpSupport.preprocess(Ruby runtime, ByteList str, org.jcodings.Encoding enc, org.jcodings.Encoding[] fixedEnc, RegexpSupport.ErrorMode mode) Preprocess the given string for use in regexp, raising errors for encoding incompatibilities that arise.static intRegexpSupport.raisePreprocessError(Ruby runtime, ByteList str, String err, RegexpSupport.ErrorMode mode) static intRegexpSupport.readEscapedByte(Ruby runtime, byte[] to, int toP, byte[] bytes, int p, int end, ByteList str, RegexpSupport.ErrorMode mode) private static intRegexpSupport.unescapeEscapedNonAscii(Ruby runtime, ByteList to, byte[] bytes, int p, int end, org.jcodings.Encoding enc, org.jcodings.Encoding[] encp, ByteList str, RegexpSupport.ErrorMode mode) Unescape escaped non-ascii character at start position, appending all to the given bytelist if provided.static booleanRegexpSupport.unescapeNonAscii(Ruby runtime, ByteList to, byte[] bytes, int p, int end, org.jcodings.Encoding enc, org.jcodings.Encoding[] encp, ByteList str, RegexpSupport.ErrorMode mode) Unescape non-ascii elements in the given string, appending the results to the given bytelist if provided.private static intRegexpSupport.unescapeUnicodeBmp(Ruby runtime, ByteList to, byte[] bytes, int p, int end, org.jcodings.Encoding[] encp, ByteList str, RegexpSupport.ErrorMode mode) Unescape unicode BMP char at given offset, appending to the specified buffer if non-null.private static intRegexpSupport.unescapeUnicodeList(Ruby runtime, ByteList to, byte[] bytes, int p, int end, org.jcodings.Encoding[] encp, ByteList str, RegexpSupport.ErrorMode mode) Unescape unicode characters at given offset, appending to the given out buffer if provided.