PowerShellPracticeAndStyle icon indicating copy to clipboard operation
PowerShellPracticeAndStyle copied to clipboard

RegEx part

Open OCram85 opened this issue 9 years ago • 0 comments
trafficstars

It really would be nice to have a RegEx part which helps with some traps like:

  • clarify differences between -match, -imatch, -cmatch
    • differences while using modifiers like (?-i)
  • best practice for case sensitive patten
    • when to use -cmatch
    • or -match with modifier like (?-i)
    • -match in combination with char exludes like [A-Z^a-z0-9]{1,3}

These are just some examples which took me some time to understand when i started using RegEx patterns with powershell.

Finally just an example I did when i stated working with it: 2016-10-27 10_07_49-powershell admin

OCram85 avatar Oct 27 '16 08:10 OCram85