MCPcopy Create free account
hub / github.com/msgbyte/tailchat / getUrls

Function getUrls

client/shared/utils/string-helper.ts:32–34  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

30 * @param str 字符串
31 */
32export const getUrls = (str: string): string[] => {
33 return str.match(urlRegex()) ?? [];
34};
35
36/**
37 * 用于判定环境变量的值

Callers

nothing calls this directly

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected