mimekit-ts - v1.0.0
    Preparing search index...

    Class UrlScanner

    Scans text for URLs and email addresses using configured patterns.

    Index
    • Scans text for the next URL match.

      Parameters

      • text: string

        The text to scan.

      • startIndex: number = 0

        The starting index of the text.

      • count: number = ...

        The number of characters to scan, starting at startIndex.

      Returns UrlMatch | null

      The URL match, or null if no match was found.