regExpFromWildcards | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function regExpFromWildcards

    • Create a regular expression from one or more wildcard masks

      Parameters

      • masks: string | string[]

        One or more masks with '?' and/or '*' wildcards

      • Optionaloptions: { caseInsensitive?: boolean; wildcards?: "?*" }

      Returns RegExp

      Regular expression string