Function convertRegexToString

  • This method converts a regex to a string. It will remove all modifiers/flags.

    Returns

    Regex as a string.

    Parameters

    • regex: RegExp

      The regex that should be converted to a string.

    Returns string

Generated using TypeDoc