Last active
August 23, 2019 13:16
-
-
Save vexx32/bb2d4426942ae442cf1b4dbf168b7c20 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-Content -Path $File | ForEach-Object { | |
if ($_ -match '(?<MethodName>\w+)\((<Arguments>.*?)\) *(?={)') { | |
$matches['Method'] = $matches[0] | |
$matches.Remove(0) | |
[PSCustomObject]$matches | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment