Skip to content
New issue

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

作者匹配,作者的名字是数字开头的话匹配为空 #100

Open
ymj4023 opened this issue Dec 3, 2020 · 0 comments
Open

作者匹配,作者的名字是数字开头的话匹配为空 #100

ymj4023 opened this issue Dec 3, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ymj4023
Copy link

ymj4023 commented Dec 3, 2020

比如责编:9筒无法匹配到
AUTHOR_PATTERN = [
"责编[:|:| |丨|/]\s*([\u4E00-\u9FA5a-zA-Z]{2,20})[^\u4E00-\u9FA5|:|:]"
]
建议改成类似于如下:
AUTHOR_PATTERN = [
"责编[:|:| |丨|/]\s*([\u4E00-\u9FA5a-zA-Z0-9]{2,20})[^\u4E00-\u9FA5|:|:]"
]

@ymj4023 ymj4023 added the bug Something isn't working label Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants