dify/web/app/components/base/prompt-editor/plugins/variable-value-block/utils.ts

6 lines
136 B
TypeScript

export function getHashtagRegexString(): string {
const hashtag = '(\{)(\{)([a-zA-Z_][a-zA-Z0-9_]{0,29})(\})(\})'
return hashtag
}