title: Default Values Specflow Step Definitions
body: <p>I'm starting out in the world of SpecFlow and I have come across my first problem.
  In terms of keeping my code DRY I'd like to do the following:</p>
  
  <p>Have two scenarios:</p>
  
  <p><code>Given I am on a product page<br>
  And myfield equals todays date<br>
  Then...</code></p>
  
  <p><code>Given I am on a product page<br>
  And myfield equals todays date plus 4 days<br>
  Then...</code></p>
  
  <p>I was hoping to use the following Step Definition to cover both variants of my And clause:</p>
  
  <p><code>[Given(@"myfield equals todays date(?: (plus|minus) (\d+) days)?")]<br>
  public void MyfieldEqualsTodaysDate(string direction, int? days)<br>
  {<br>
  //do stuff<br>
  }</code></p>
  
  <p>However I keep getting exceptions when SpecFlow tries to parse the int? param.
  I've checked the regular expression and it definitely parses the scenario as expected.
  I'm aware that I could so something as crude as method overloading etc, I was just wondering if SpecFlow supported the idea of default parameter values, or indeed another way to achieve the same effect.</p>
  
  <p>Many Thanks</p>