| Modifier and Type | Class and Description |
|---|---|
| private static record |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| private static final int | |
| private static double | |
| private RegexpOptions | |
| pack-priv Regex | |
| pack-priv static final WeakValuedMap | |
| pack-priv static final WeakValuedMap | |
| private static final int | QUOTED_V
rb_reg_quote |
| pack-priv static final WeakValuedMap | |
| private ByteList | |
| private IRubyObject | |
| private static final ThreadLocal |
| Access | Constructor and Description |
|---|---|
| private | |
| pack-priv | |
| public | |
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final int | |
| private static int | |
| private static final int | |
| public IRubyObject | |
| private void | |
| pack-priv Encoding | |
| public void | |
| public void | |
| pack-priv static RubyMatchData | |
| pack-priv static RubyMatchData | |
| public static RubyClass | |
| public IRubyObject | |
| private static void | |
| public IRubyObject | |
| private static RubyRegexp. | |
| public IRubyObject | |
| public static IRubyObject | |
| public Encoding | |
| public KCode | |
| public Encoding | |
| public String[] | |
| public ClassIndex | getNativeClassIndex()
Overrides org. Implements org. This is overridden in the other concrete Java builtins to provide a fast way to determine what type they are. |
| public final RegexpOptions | |
| public final RegexpOptions | |
| public final Regex | |
| public final Regex | |
| private static Regex | getPreprocessedRegexpFromCache(ThreadContext context, ByteList bytes, Encoding enc, RegexpOptions options, RegexpSupport.
|
| pack-priv static Regex | |
| public static Regex | |
| private long | |
| public RubyFixnum | hash(ThreadContext
the current thread context context)Overrides org. Will return the hash code of this object. |
| public IRubyObject | initialize_copy(ThreadContext
the thread context context, IRubyObject the original re)Overrides org. rb_reg_init_copy |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private IRubyObject | |
| public IRubyObject | inspect(ThreadContext context)
Overrides org. Overrides default org. rb_reg_inspect |
| public boolean | |
| private boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | isSimpleString(ThreadContext context)
Is the pattern itself a simple US-ASCII string which can be used in simple string searches and can be used outside of the regexp engine? |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public final int | |
| public static IRubyObject | |
| private static Regex | |
| public static void | |
| public static void | |
| public static IRubyObject | |
| public static IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public final IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| private IRubyObject | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| private RubyBoolean | |
| pack-priv final RubyBoolean | |
| private int | matchPos(ThreadContext
thread context context, IRubyObject the stringlike to match arg, RubyString[] an out param to hold the coerced string; ignored if null strp, boolean whether to update the current execution frame's backref useBackref, int the position from which to start matching pos)MRI: reg_match_pos |
| public IRubyObject | |
| public IRubyObject | |
| public static RubyRegexp | |
| public static RubyRegexp | |
| pack-priv static RubyRegexp | |
| public static RubyRegexp | |
| public static RubyRegexp | |
| public static RubyRegexp | |
| public static RubyRegexp | |
| pack-priv static RubyRegexp | |
| public static RubyRegexp | |
| public static RubyRegexp | newRegexpParser(Ruby runtime, ByteList pattern, RegexpOptions options)
throws RaiseException on error so parser can pick this up and give proper line and line number error as opposed to any non-literal regexp creation which may raise a syntax error but will not have this extra source info in the error message |
| public static IRubyObject | |
| public static IRubyObject | |
| pack-priv static IRubyObject | |
| private static int | |
| public IRubyObject | op_equal(ThreadContext context, IRubyObject other)
Overrides org. Implements org. rb_obj_equal Will by default use identity equality to compare objects. |
| public IRubyObject | op_match(ThreadContext
the thread context context, IRubyObject arg str)Overrides org. rb_obj_pattern_match
call-seq:
obj =~ other => nil
Pattern Match---Overridden by descendents (notably
|
| public IRubyObject | |
| private static RubyString | |
| private static IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private Encoding | |
| public final Regex | |
| public final Regex | |
| public static void | |
| public static RubyString | |
| public static RubyString | |
| public static RubyString | |
| public static RubyString | |
| public static RubyString | |
| public static RubyString | |
| public static RubyString | preprocessDRegexp(Ruby runtime, IRubyObject arg0, IRubyObject arg1, RegexpOptions options)
Deprecated
|
| public static RubyString | preprocessDRegexp(ThreadContext context, RegexpOptions options, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
|
| public static RubyString | preprocessDRegexp(Ruby runtime, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, RegexpOptions options)
Deprecated
|
| public static RubyString | preprocessDRegexp(Ruby runtime, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, RegexpOptions options)
Deprecated
|
| public static RubyString | preprocessDRegexp(Ruby runtime, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, IRubyObject arg4, RegexpOptions options)
Deprecated
|
| private static void | preprocessLight(ThreadContext
the current context context, ByteList string to preprocess str, Encoding string's encoding enc, Encoding[] new encoding after fixing fixedEnc, RegexpSupport.mode of errors modePreprocess the given string for use in regexp, raising errors for encoding incompatibilities that arise. |
| private static Encoding | processDRegexpElement(ThreadContext context, RegexpOptions options, Encoding regexpEnc, Encoding[] fixedEnc, RubyString str)
|
| private static RubyString | processElementIntoResult(ThreadContext context, RubyString result, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, IRubyObject arg4, RegexpOptions options, Encoding regexpEnc, Encoding[] fixedEnc)
|
| private static RubyString | processElementIntoResult(ThreadContext context, RubyString result, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, RegexpOptions options, Encoding regexpEnc, Encoding[] fixedEnc)
|
| private static RubyString | processElementIntoResult(ThreadContext context, RubyString result, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, RegexpOptions options, Encoding regexpEnc, Encoding[] fixedEnc)
|
| private static RubyString | processElementIntoResult(ThreadContext context, RubyString result, IRubyObject arg0, IRubyObject arg1, RegexpOptions options, Encoding regexpEnc, Encoding[] fixedEnc)
|
| private static RubyString | processElementIntoResult(ThreadContext context, RubyString result, IRubyObject arg0, RegexpOptions options, Encoding regexpEnc, Encoding[] fixedEnc)
|
| private static IRubyObject | |
| public static RubyString | |
| pack-priv static ByteList | |
| pack-priv static ByteList | |
| public ByteList | |
| public final RubyRegexp | |
| public final RubyRegexp | |
| private RubyRegexp | regexpInitializeString(ThreadContext context, RubyString str, RegexpOptions options, IRubyObject timeout)
|
| private static IRubyObject | |
| pack-priv static RubyString | |
| pack-priv static RubyString | regsub(ThreadContext context, RubyString str, RubyString src, Regex pattern, Region regs, final int begin, final int end)
|
| public final int | search(ThreadContext context, RubyString str, int pos, boolean reverse)
MRI: rb_reg_search This version uses current thread context to hold the resulting match data. |
| public final int | search(ThreadContext context, RubyString str, int pos, boolean reverse, IRubyObject[] holder)
Deprecated
|
| public final int | searchString(ThreadContext context, RubyString str, int pos, boolean reverse)
Search the given string with this Regexp. |
| public void | |
| public void | |
| public void | |
| public boolean | |
| public IRubyObject | |
| public IRubyObject | |
| pack-priv final boolean | |
| public final RubyBoolean | |
| public static IRubyObject | |
| public IRubyObject | |
| public static IRubyObject | |
| private IRubyObject | |
| public RubyString | |
| public RubyString | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static RubyRegexp |