Closed gerardroche closed 5 years ago
The current --filter option just joins a list inside a or regex pattern:
def build_filter_option_pattern(list): return '::(' + '|'.join(sorted(list)) + ')( with data set .+)?$'
The pattern could be optimised to avoid really long patterns.
Also, maybe we should put a limit on the size?
Cool ideas!
The current --filter option just joins a list inside a or regex pattern:
The pattern could be optimised to avoid really long patterns.
Also, maybe we should put a limit on the size?