lib/grammar.js
function makeEntry(name, value) {
    var escaped = escapeDelimiter(value);

    return {
      name: name,
      escaped: escaped,
      test: new RegExp("^" + escaped)
    };
  }
function makeEntry(name, value) {
    var escaped = escapeDelimiter(value);

    return {
      name: name,
      escaped: escaped,
      test: new RegExp("^" + escaped)
    };
  }
function makeEntry ( name , value ) { var escaped = escapeDelimiter ( value ) ; return { name : name , escaped : escaped , test : new RegExp ( "^" + escaped ) } ; }
Abstract the logic for adding items to the grammar.

@private
@param {string} name - Required to identify the match.
@param {string} value - To be escaped and used within a RegExp.
@returns {object} The normalized metadata.
Abstract the logic for adding items to the grammar .