Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. using module PSKoans
  2.  
  3. [Koan(Position = 666)]
  4. param()
  5.  
  6. Describe "Regex" {
  7. It "breaks your brainz" {
  8. $res = __ -match '^(?<pp>a )must-have tool(?(pp)|s)'
  9. $res |Should -Be $true
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement