Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Irregular
0.7.8
RegEx/Console/Invert.regex.txt
# Matches ANSI Invert Start or End
\e # An Escape
\[ # Followed by a bracket
(?>
(?<InvertStart>7m) # 7m starts invert
|
(?<InvertEnd>27m) # 27m stops invert
)