Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 725 Bytes

README.ps1.md

File metadata and controls

16 lines (14 loc) · 725 Bytes

This directory contains regular expressions for ANSI escape sequences.

Note: Using these regular expressions in the terminal may result in awkward output. (the .Match will contain an escape sequence, which will make the next output attempt to use this escape sequence)

    Import-Module ../../Irregular.psd1 -Global
    $directoryName = $pwd | Split-Path -Leaf     
    [PSCustomObject]@{
        Table = Get-Regex -Name "${directoryName}_*" |
            Sort-Object Name |
            Select @{
                Name='Name'
                Expression={"[?<$($_.Name)>]($($_.Path | Split-Path -Leaf))"}
            }, Description, IsGenerator
    }}