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

建议增加驼峰,下划线的处理 #119

Open
zok2 opened this issue Jun 9, 2023 · 0 comments
Open

建议增加驼峰,下划线的处理 #119

zok2 opened this issue Jun 9, 2023 · 0 comments

Comments

@zok2
Copy link

zok2 commented Jun 9, 2023

增加 : import re

main 函数下

query = wf.args[0].strip()
增加:
query = query.replace('_', ' ')
query = re.sub(r'([a-z])([A-Z])', r'\1 \2', query)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant