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

    Function normalizePattern

    • Returns a regex pattern that normalized the given pattern

      Parameters

      • Optionalpattern: null | string

        The pattern to inspect

      Returns undefined | null | string

      a regex pattern that normalized the given pattern

      David Hsing

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