Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

111 B
Raw Blame
export function escapeRegExp(value: string): string {
  return value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
}