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
platform: Windows
from danmakuC.ass import Ass import re regex = '[人12a34b]' text = '从' print(re.search(regex, text)) # None ass = Ass(1920, 1080, 0, 'sans-serif', 25, 1, 5, 5, regex, False) print(ass.add_comment(0, 0, text, 25, 0, 0xffffff)) # False
re模块未匹配, 但add_comment里被过滤了, 可能是人的utf-8为b'\xe4\xba\xba', 从为b'\xe4\xbb\x8e', []内被按字节匹配了
re
add_comment
人
b'\xe4\xba\xba'
从
b'\xe4\xbb\x8e'
[]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
platform: Windows
re
模块未匹配, 但add_comment
里被过滤了, 可能是人
的utf-8为b'\xe4\xba\xba'
,从
为b'\xe4\xbb\x8e'
,[]
内被按字节匹配了The text was updated successfully, but these errors were encountered: