core/src/main/java/org/jruby/RubyMatchData.java
public int begin(int i) {
        if (regs == null) {
            if (i > 1) return -1;
            return begin;
        }
        if (i > regs.numRegs) return -1;
        return regs.beg[i];
    }
/**
     * Get the begin offset of the given region, or -1 if the region does not exist.
     *
     * @param i the region for which to fetch the begin offset
     * @return the begin offset for the region
     */
Get the begin offset of the given region, or -1 if the region does not exist.
@param i the region for which to fetch the begin offset
@return the begin offset for the region
Get the begin offset of the given region or - 1 if the region does not exist . @param i the region for which to fetch the begin offset @return the begin offset for the region
public int begin(int i) {
        if (regs == null) {
            if (i > 1) return -1;
            return begin;
        }
        if (i > regs.numRegs) return -1;
        return regs.beg[i];
    }
public int begin ( int i ) { if ( regs == null ) { if ( i > 1 ) return - 1 ; return begin ; } if ( i > regs . numRegs ) return - 1 ; return regs . beg [ i ] ; }
Get the begin offset of the given region, or -1 if the region does not exist.
Get the begin offset of the given region or - 1 if the region does not exist .