@unikue/ts-lang-utils
    Preparing search index...

    Function normalizePattern

    • Returns a regex pattern that normalized the given pattern

      Parameters

      • Optionalpattern: string | null

        The pattern to inspect

      Returns string | null | undefined

      a regex pattern that normalized the given pattern

      David Hsing

      normalizePattern('\\\\d');    // '\d'