• Preparing search index...
  • The search index is not available
@shopify/cli-kit
  • @shopify/cli-kit
  • common/string
  • escapeRegExp

Function escapeRegExp

  • escapeRegExp(str: string): string
  • Given a string, it returns it with the special regex characters escaped. More info: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#escaping.

    Parameters

    • str: string

      String to escape.

    Returns string

    The escaped string.

    • Defined in packages/cli-kit/src/public/common/string.ts:296

Settings

Member Visibility
@shopify/cli-kit
  • Loading...

Generated using TypeDoc