hermes / ui-tui /src /protocol /interpolation.ts
haochengsama's picture
Add files using upload-large-folder tool
04d8658 verified
Raw
History Blame Contribute Delete
113 Bytes
export const INTERPOLATION_RE = /\{!(.+?)\}/g
export const hasInterpolation = (s: string) => /\{!.+?\}/.test(s)