A range representing the match region.

interface Range {
    length: number;
    offset: number;
}

Properties

Properties

length: number

The length of the match region.

offset: number

The zero based offset of the match region.