Closed rdmarsh closed 1 year ago
Regex will be something like:
for filter in re.split(r'(?<!,),', filters):
+ #split filters by commas except if they're proceeded by a backslash
+ for filter in re.split(r'[^\\],', filters):
+ #now remove the backslash we used to protect the comma from split above
+ filter = filter.replace('\\,',',')
Closing, resolved with commit b34d743
Describe the bug It is not possible to filter (-F/--filter) using a comma in the filter string.
To Reproduce Steps to reproduce the behavior:
Expected behavior Be able to filter on fields that contain a comma.
Screenshots
Desktop (please complete the following information):