dsgsdg
This commit is contained in:
3
main.py
3
main.py
@@ -163,7 +163,8 @@ def read_users(wxid, db: Session = Depends(get_db)):
|
|||||||
# 群-异度星球 49187487591@chatroom chatroom
|
# 群-异度星球 49187487591@chatroom chatroom
|
||||||
def h5group(nickname, db: Session = Depends(get_db)):
|
def h5group(nickname, db: Session = Depends(get_db)):
|
||||||
newtext = unquote(nickname, 'utf-8')
|
newtext = unquote(nickname, 'utf-8')
|
||||||
pattern = r'收到(\w+)的在看'
|
# pattern = r'收到(\w+)的在看'
|
||||||
|
pattern = r'收到([\w\[\]@=]+)的在看'
|
||||||
print(newtext)
|
print(newtext)
|
||||||
# 处理emoji转为[@emoji=1f916] 格式
|
# 处理emoji转为[@emoji=1f916] 格式
|
||||||
newtext=transOldemoji(newtext)
|
newtext=transOldemoji(newtext)
|
||||||
|
|||||||
Reference in New Issue
Block a user