mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-16 23:43:03 +00:00
The regex detection helpers wrote their backslash escapes in ordinary string literals, so Python reported six invalid escape sequences on import. They work today because Python leaves an unrecognised escape as its two characters, but that behaviour is deprecated and becomes a syntax error in a future release, at which point the knowledge filesystem tools stop importing at all. The literals are now raw, which is the same two characters with no warning. Pattern detection and normalisation are unchanged: verified identical output over every string up to length five drawn from the characters these helpers look at. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| builtin.py | ||
| knowledge_fs.py | ||