Pash-Project/Pash — pull request #98 by JayBazuzi (2013-04-29 00:03:36+00:00)
Title: Cast string to enum

This works:

[Text.RegularExpressions.Regex]::IsMatch('FOO', 'foo', [Text.RegularExpressions.RegexOptions] 'IgnoreCase' )