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.ErrorMode
Returns 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 ByteList
RegexpSupport.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 int
RegexpSupport.raisePreprocessError
(Ruby runtime, ByteList str, String err, RegexpSupport.ErrorMode mode) static int
RegexpSupport.readEscapedByte
(Ruby runtime, byte[] to, int toP, byte[] bytes, int p, int end, ByteList str, RegexpSupport.ErrorMode mode) static boolean
RegexpSupport.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.