Trex
0.1.0
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2026 Mark Newton
Package Details
Author(s)
- Mark Newton
Tags
pwrs powershell regex tokens pattern-matching text-search cmdlet
Cmdlets
New-TrexPattern Select-TrexMatch Test-TrexMatch Get-TrexFile Get-TrexFileType Get-TrexLine New-TrexStreamScanner Edit-TrexText Protect-TrexText Group-TrexMatch Get-TrexToken Get-TrexRecord Get-TrexRecordShape ConvertTo-TrexPattern ConvertFrom-TrexText ConvertTo-TrexLiteral Find-TrexRecord New-TrexIndex Get-TrexIndex Get-TrexRule Invoke-TrexRule ConvertTo-TrexSarif Measure-TrexMagnitude Measure-TrexStress Measure-TrexFlow Measure-TrexObservation Measure-TrexEcho Measure-TrexOrbit Measure-TrexShape Measure-TrexRelation Measure-TrexSpectral Measure-TrexSeam New-TrexGrammar Invoke-TrexGrammar New-TrexBpe Import-TrexBpe Export-TrexBpe ConvertTo-TrexBpe New-TrexPrefilter Test-TrexPrefilter Register-TrexAtom Import-TrexAtom Get-TrexAtom Unregister-TrexAtom Test-TrexAtom New-TrexLibrary Get-TrexClock Set-TrexClock Get-TrexInfo
PSEditions
Dependencies
This module has no dependencies.
Release Notes
The first release of Trex: trex's pattern language over typed tokens as PowerShell cmdlets and objects. Select-TrexMatch scans text, files and directory trees; Edit-TrexText rewrites, Protect-TrexText redacts, Group-TrexMatch counts and groups; Register-TrexAtom and Import-TrexAtom declare custom atoms every cmdlet reads; ConvertTo-TrexPattern builds a pattern from marked examples and ConvertFrom-TrexText applies it as objects, reading ConvertFrom-String templates. It imports in PowerShell 7 and Windows PowerShell 5.1.
FileList
- Trex.nuspec
- THIRD-PARTY-NOTICES.txt
- Trex.Format.ps1xml
- Trex.psd1
- Trex.psm1
- net10.0\Pwrs.Bootstrap.dll
- net10.0\Pwrs.Runtime.dll
- net10.0\Trex.Shell.fa650d7e74f94942.dll
- netstandard2.0\Pwrs.Bootstrap.dll
- netstandard2.0\Pwrs.Runtime.dll
- netstandard2.0\Trex.Shell.fa650d7e74f94942.dll
- net10.0\en-US\Trex.Shell.fa650d7e74f94942.dll-Help.xml
- netstandard2.0\en-US\Trex.Shell.fa650d7e74f94942.dll-Help.xml
- runtimes\freebsd-x64\THIRD-PARTY-NOTICES.txt
- runtimes\linux-x64\THIRD-PARTY-NOTICES.txt
- runtimes\osx-arm64\THIRD-PARTY-NOTICES.txt
- runtimes\win-x64\THIRD-PARTY-NOTICES.txt
- runtimes\freebsd-x64\native\libtrex_pwrs.so
- runtimes\linux-x64\native\libtrex_pwrs.so
- runtimes\osx-arm64\native\libtrex_pwrs.dylib
- runtimes\win-x64\native\trex_pwrs.dll
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.1.0 (current version) | 7 | 9/30/2026 |