lib/methods/findStep.js
function trim(str) {
  var input = str.replace(/\s\s+/g, ' ').trim();

  var words = input.split(' ');
  if (_.contains(LANG_WORDS, _.first(words))) {
    return words.slice(1).join(' ');
  }
  return input;
}
function trim(str) {
  var input = str.replace(/\s\s+/g, ' ').trim();

  var words = input.split(' ');
  if (_.contains(LANG_WORDS, _.first(words))) {
    return words.slice(1).join(' ');
  }
  return input;
}
function trim ( str ) { var input = str . replace ( / \s\s+ / g , ' ' ) . trim ( ) ; var words = input . split ( ' ' ) ; if ( _ . contains ( LANG_WORDS , _ . first ( words ) ) ) { return words . slice ( 1 ) . join ( ' ' ) ; } return input ; }
Sanitize input and trim first word if Gherkin lang
Sanitize input and trim first word if Gherkin lang