We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题描述 微信号有字符要求,但是微信名称没有限制。 输入的信息存在re的匹配字符时代码报错re.error: nothing to repeat at position 0
复现步骤 import re name = "--_-" name1 = ".?__--" def pp(name=br'\Msg\FTSContact'): name = re.compile(pattern) name = re.compile(re.escape(pattern))
pp(name.encode("utf-8"))
代码的re.compile()好像没设置关键字转义
The text was updated successfully, but these errors were encountered:
这是哪部分代码?
Sorry, something went wrong.
上面的是我自己复现的,源码在memory_search.py中pattern = re.compile(pattern)
在命令行执行时wxdump bias --mobile 1xxx --name *--_- --account xxxx 会出现上述代码的错误
No branches or pull requests
问题描述
微信号有字符要求,但是微信名称没有限制。
输入的信息存在re的匹配字符时代码报错re.error: nothing to repeat at position 0
复现步骤
import re
name = "--_-"
name1 = ".?__--"
def pp(name=br'\Msg\FTSContact'):
name = re.compile(pattern)
name = re.compile(re.escape(pattern))
pp(name.encode("utf-8"))
代码的re.compile()好像没设置关键字转义
The text was updated successfully, but these errors were encountered: