char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
e21152dc9
char/aliceai-t5-moe
1/** 2* Matches <br>, <br/>, <br /> tags (case-insensitive). 3* Used to detect line breaks in table cell text content. 4*/ 5export const BR_PATTERN = / <br\s*\/?\s*> / gi ; 6 7/** 8* Matches a complete <ul>...</ul> block. 9* Captures the inner content (group 1) for further <li> extraction. 10* Case-insensitive, allows multiline content. 11*/ 12export const LIST_PATTERN = / ^<ul>([\s\S]*)<\/ul>$ / i ; 13 14/** 15* Matches individual <li>...</li> elements within a list. 16* Captures the inner content (group 1) of each list item. 17* Non-greedy to handle multiple consecutive items. 18* Case-insensitive, allows multiline content. 19*/ 20export const LI_PATTERN = / <li>([\s\S]*?)<\/li> / gi ;