public void BeginCaptureWithName_CreateRegexGroupNameAsExpected()
        {
            // Arrange
            VerbalExpressions verbEx = VerbalExpressions.DefaultExpression;

            // Act
            verbEx.Add("COD")
            .BeginCapture("GroupNumber")
            .Any("0-9")
            .RepeatPrevious(3)
            .EndCapture()
            .Add("END");

            // Assert
            Assert.Equal(@"COD(?<GroupNumber>[0-9]{3})END", verbEx.ToString());
            Assert.Equal("123", verbEx.Capture("COD123END", "GroupNumber"));
        }