Uses of Enum Class
org.jruby.util.RegexpSupport.ErrorMode
Packages that use RegexpSupport.ErrorMode
-
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 class with the specified name.static RegexpSupport.ErrorMode[]RegexpSupport.ErrorMode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.jruby.util with parameters of type RegexpSupport.ErrorModeModifier and TypeMethodDescriptionstatic 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) 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.