mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
6 lines
367 B
TypeScript
6 lines
367 B
TypeScript
|
|
export const SPAN_REGEX = /(\\ue203.*?\\ue204)/g;
|
||
|
|
export const COMPOSITE_REGEX = /(\\ue200.*?\\ue201)/g;
|
||
|
|
export const STANDALONE_PATTERN = /\\ue202turn(\d+)(search|image|news|video|ref)(\d+)/g;
|
||
|
|
export const CLEANUP_REGEX = /\\ue200|\\ue201|\\ue202|\\ue203|\\ue204|\\ue206/g;
|
||
|
|
export const INVALID_CITATION_REGEX = /\s*\\ue202turn\d+(search|news|image|video|ref)\d+/g;
|