Get-ChildItem
, and take out the file info, as so. Which leads to another nice feature; if you save an expression, you can share it with a link. Lastly, you can generate code for your expression in javascript, python, php, c#, and several other languages.It does not, however, do Powershell...
Luckily I found another; regexhero, which is purely for Powershell regular expressions. I have just started using this for a fairly simple
-replace
line I was writing. regexhero will do -match
, -replace
, and -split
functions where you provide your target string and expression to run against it.Sadly, regexhero uses Microsoft Silverlight and reportedly only works on Internet Explorer 9+, so Linux users are left out. So too, apparently, are Microsoft Edge users (though it is possible Silverlight is not properly configured on my Edge browser). The web developer in me would like the site to be more universally available, but is also intrigued by the use of Silverlight.
Now, if I could find a way to look at the peculiarities of vi regex...
No comments:
Post a Comment