Auto-category non-regex matching skips usable tokens
Summary¶
Download queue automatic category matching inverted the non-regex token loop: it
stopped on the first non-empty pipe-delimited token instead of evaluating it.
Wildcard detection also treated wildcard position 0 as false, so common
patterns such as *.avi were not matched through PathMatchSpec.
Acceptance Criteria¶
- [x] Non-regex automatic category matching evaluates the first usable token.
- [x] Later pipe-delimited tokens remain eligible for matching.
- [x] Empty pipe tokens do not match everything.
- [x] Wildcards at the beginning of a token are honored.
- [x] Regex automatic category behavior is unchanged.
Validation¶
python -m emule_workspace validate --config Release --platform x64 --build-output-mode ErrorsOnlypython -m emule_workspace build tests --config Release --platform x64 --build-output-mode ErrorsOnly --test-run-variant mainpython -m emule_workspace test native --config Release --platform x64 --build-output-mode ErrorsOnly --test-run-variant main --suite-name paritypython -m emule_workspace build app --config Release --platform x64 --build-output-mode ErrorsOnly --variant main