unstructured
0de9215d - fix: use raw strings for regex patterns (#3029)

Commit
1 year ago
fix: use raw strings for regex patterns (#3029) **Summary** Avoid `SyntaxWarning` and/or `SyntaxError` messages when importing `unstructured.nlp.patterns` by using raw strings (`"r"` prefix) for regex patterns which may contain `\x` character sequences not recognized by the Python parser for normal strings. Fixes: #2495
Author
Parents
Loading