Skip to content

How does the regular Expression deals with conflicts? #731

Answered by johan-bjareholt
NanGuoBean asked this question in Q&A
Discussion options

You must be logged in to vote

https://docs.activitywatch.net/en/latest/features/categorization.html#rules

If there are multiple categories matching the same event then the deepest sub-category will be chosen.

If the depth is the same, the behaviour is undefined. But if you are lucky, it might choose the one lowest in the web-ui.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NanGuoBean
Comment options

Answer selected by NanGuoBean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants