public void ShouldMatchWithUpdatedRegex()
        {
            var matcher = new StringRegexMatcher(@"^[0-9]+$");

            matcher.Matcher = @"^((?=\S*?[A-Z])(?=\S*?[a-z])(?=\S*?[0-9]).{6,})\S$";
            Assert.True(matcher.Match("HelloWorld102"));
        }
        public void ShouldMatchWithGivenPasswordRegex()
        {
            var matcher = new StringRegexMatcher(@"^((?=\S*?[A-Z])(?=\S*?[a-z])(?=\S*?[0-9]).{6,})\S$");

            Assert.True(matcher.Match("HelloWorld102"));
        }