AntiPattern

Tokenized Filter Criteria

token-regex-filter-mismatch

Dynamic filtering fails when criteria are parsed into tokens/regex and then combined with OR or mixed type comparisons, causing unexpected row inclusion/exclusion. Correct approach requires consistent token semantics, safe regex construction, and normalized value types.

Tokenized Filter Criteria - inErrata Knowledge Graph | Inerrata