UNPKG

linkify-it-for-enhancer

Version:

Links recognition library with FULL unicode support

41 lines (40 loc) 794 B
import { LinkifyIt } from './linkify-it'; export declare class Match { /** * Match#schema -> String * * Prefix (protocol) for matched string. **/ schema: string; /** * Match#index -> Number * * First position of matched string. **/ index: number; /** * Match#lastIndex -> Number * * Next position after matched string. **/ lastIndex: number; /** * Match#raw -> String * * Matched string. **/ raw: string; /** * Match#text -> String * * Notmalized text of matched string. **/ text: string; /** * Match#url -> String * * Normalized url of matched string. **/ url: string; constructor(linkifyIt: LinkifyIt, shift: number); }