lib/mehegan.js
function (numeral) {
  var matches = numeral.match(/([b#]?)([iIvV]+)/);
  var halfSteps = interval.parse(_.indexOf(romanNumeral, matches[2]).toString()).halfSteps();

  if (matches[1] === 'b') halfSteps -= 1;
  if (matches[1] === '#') halfSteps += 1;

  return halfSteps;
}
function (numeral) {
  var matches = numeral.match(/([b#]?)([iIvV]+)/);
  var halfSteps = interval.parse(_.indexOf(romanNumeral, matches[2]).toString()).halfSteps();

  if (matches[1] === 'b') halfSteps -= 1;
  if (matches[1] === '#') halfSteps += 1;

  return halfSteps;
}
function ( numeral ) { var matches = numeral . match ( / ([b#]?)([iIvV]+) / ) ; var halfSteps = interval . parse ( _ . indexOf ( romanNumeral , matches [ 2 ] ) . toString ( ) ) . halfSteps ( ) ; if ( matches [ 1 ] === 'b' ) halfSteps -= 1 ; if ( matches [ 1 ] === '#' ) halfSteps += 1 ; return halfSteps ; }
Given a roman numeral, return the number of half steps
Given a roman numeral return the number of half steps