title: Include digits in cucumber feature files as strings?
body: <p>I am writing cucumber tests that specify certain numbers should be in certain places of the data as strings.  So I am trying to run this:</p>
  
  <p>myFeature.feature</p>
  
  <pre><code>...
  Then this segment should equal 01
  </code></pre>
  
  <p>mySteps.java</p>
  
  <pre><code>@Then("^Then this segment should equal 01$")
  public void myThenStep() {
      // Do stuff
  }
  </code></pre>
  
  <p>But what cucumber is telling me to use is this:</p>
  
  <pre><code>@Then("^Then this segment should equal (\\d+)$")
  public void myThenStep(int arg1) {
      // Do stuff
  }
  </code></pre>
  
  <p>I am not trying to include arguments, I am trying to assert that the string I got equals 01.  How do I do this?  It seems really simple, but I can't find a way to escape that number.  Thanks!</p>