Skip to content

正则表达式没有r'' 符匹配 #1036

@lopinv

Description

@lopinv
Administrator@DESKTOP-1FUGSIP MINGW64 /e/Gitrepo/WeChat (main)
$ uv run python main.py
warning: `VIRTUAL_ENV=E:\Gitrepo\自动化脚本\WordPress\.venv` does not match the project environment path `.venv` and will be ignored; use `--active` to target the active environment instead
E:\Gitrepo\WeChat\.venv\Lib\site-packages\jieba\__init__.py:44: SyntaxWarning: invalid escape sequence '\.'
  re_han_default = re.compile("([\u4E00-\u9FD5a-zA-Z0-9+#&\._%\-]+)", re.U)
E:\Gitrepo\WeChat\.venv\Lib\site-packages\jieba\__init__.py:46: SyntaxWarning: invalid escape sequence '\s'
  re_skip_default = re.compile("(\r\n|\s)", re.U)
E:\Gitrepo\WeChat\.venv\Lib\site-packages\jieba\finalseg\__init__.py:78: SyntaxWarning: invalid escape sequence '\.'
  re_skip = re.compile("([a-zA-Z0-9]+(?:\.\d+)?%?)")
E:\Gitrepo\WeChat\.venv\Lib\site-packages\jieba\posseg\__init__.py:16: SyntaxWarning: invalid escape sequence '\.'  
  re_skip_detail = re.compile("([\.0-9]+|[a-zA-Z0-9]+)")
E:\Gitrepo\WeChat\.venv\Lib\site-packages\jieba\posseg\__init__.py:17: SyntaxWarning: invalid escape sequence '\.'  
  re_han_internal = re.compile("([\u4E00-\u9FD5a-zA-Z0-9+#&\._]+)")
E:\Gitrepo\WeChat\.venv\Lib\site-packages\jieba\posseg\__init__.py:18: SyntaxWarning: invalid escape sequence '\s'  
  re_skip_internal = re.compile("(\r\n|\s)")
E:\Gitrepo\WeChat\.venv\Lib\site-packages\jieba\posseg\__init__.py:21: SyntaxWarning: invalid escape sequence '\.'  
  re_num = re.compile("[\.0-9]+")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions