-
-
Notifications
You must be signed in to change notification settings - Fork 62
Description
Is your feature request related to a problem?
I often need to filter console output where multiple conditions must be met at the same time. Currently, GrepConsole only allows combining filters with "OR" logic, so it matches lines if any condition is met. This can be frustrating when I want to filter for lines that satisfy all my criteria simultaneously.
Describe the solution you'd like
I would like to see support for combining filters using "AND" logic, so that only lines matching all specified conditions are displayed. This would make filtering much more powerful and flexible for advanced use cases.
Describe alternatives you've considered In command-line tools like grep, this can be achieved by chaining commands:
grep 'error' logfile.txt | grep 'timeout'
This shows only lines containing both "error" and "timeout". Alternatively, with GNU grep and Perl-compatible regular expressions:
grep -P '(?=.error)(?=.timeout)' logfile.txt
This matches lines where both patterns are present. Additional context Adding "AND" logic to GrepConsole filtering would help users who want to refine their searches and only see output that matches all of their criteria.