Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using module PSKoans
- [Koan(Position = 666)]
- param()
- Describe "Regex" {
- It "breaks your brainz" {
- $res = __ -match '^(?<pp>a )must-have tool(?(pp)|s)'
- $res |Should -Be $true
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement