Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions regexes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,10 @@ user_agent_parsers:
- regex: 'compatible; monitis'
family_replacement: 'Monitis'

# TIM
- regex: '(TIM)\/(\d+)\.(\d+)\.(\d+)\.(\d+)'
family_replacement: 'TIM'

#### END MAIN CASES ####

#### SPECIAL CASES ####
Expand Down
7 changes: 7 additions & 0 deletions tests/test_ua.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8765,6 +8765,13 @@ test_cases:
minor:
patch:

- user_agent_string: 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/21D50 QQ/103.5 TIM/3.5.2.709 V1_IPH_SQ_8.4.8_352_TIM_D Pixel/1179 MiniAppEnable SimpleUISwitch/1 QQTheme/1015712 Core/WKWebView Device/Apple(iPhone X) NetType/4G QBWebViewType/1 WKType/1'
family: 'TIM'
major: '3'
minor: '5'
patch: '2'
patch_minor: '709'

- user_agent_string: 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E302 Pandora/1902.1'
family: 'Pandora'
major: '1902'
Expand Down