Skip to content

fix: add regex patterns for Baidu Explorer #616

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

welkinwong
Copy link
Contributor

Supplement ua regular expressions and test cases for Baidu Explorer

regexes.yaml Outdated
@@ -448,6 +448,10 @@ user_agent_parsers:
family_replacement: 'Baidu Browser'
- regex: '(FlyFlow)/(\d+)\.(\d+)'
family_replacement: 'Baidu Explorer'
- regex: '(flyflow)/(\d+)\.(\d+)\.(\d+)\.(\d+)'
family_replacement: 'Baidu Explorer'
- regex: '(baiduboxapp)/(\d+)\.(\d+)\.(\d+)\.(\d+)'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it need to be so high in the parsing? can it be merged in one regex?

@welkinwong
Copy link
Contributor Author

@lbarthon Thanks for the review! I've merged the regex patterns as suggested and grouped them with QQ Browser since they share similar characteristics.

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

Successfully merging this pull request may close these issues.

2 participants