PowerShell / ConsoleGuiTools

Modules that mix PowerShell and GUIs/CUIs!
https://www.powershellgallery.com/packages/Microsoft.PowerShell.ConsoleGuiTools
MIT License
759 stars 52 forks source link

`-Filter` will throw an exception on a malformed regex #225

Open tig opened 8 months ago

tig commented 8 months ago

Prerequisites

Steps to reproduce

Reported here: https://github.com/gui-cs/F7History/issues/15

ls | ocgv -Debug -Filter .\k

Expected behavior

ls | ocgv -Debug -Filter .\k

The error message should occur as an error in the GUI like in visuals below

Actual behavior

Error on command line.

Error details

No response

Environment data

na

Version

0.76

Visuals

image