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