public void RegexOptionsParsing()
        {
            Assert.AreEqual(RegexOptions.Compiled | RegexOptions.CultureInvariant,
                            RuleAttributeFactory.ParsePatternFlags("cOmPiLed | CultureInvariant"));
            Assert.AreEqual(RegexOptions.Compiled | RegexOptions.IgnorePatternWhitespace | RegexOptions.IgnoreCase,
                            RuleAttributeFactory.ParsePatternFlags("Compiled|IgnoreCase|IgnorePatternWhitespace"));

            // Ignore strange user ;)
            Assert.AreEqual(RegexOptions.Compiled | RegexOptions.IgnorePatternWhitespace,
                            RuleAttributeFactory.ParsePatternFlags("Compiled||  | |IgnorePatternWhitespace"));
        }