src/js/transpose.js
//Extracts and replaces a transposed chord from a string ex. Dm7/F# -> D#m7/G
Extracts and replaces a transposed chord from a string ex.
Extracts and replaces a transposed chord from a string ex .
function transpose (chordString, steps) {
  return chordString.replace(/[A-F][#,\u266D]?/g, (chord) => {
  	return transposeChord(chord, steps);
   });
}
function transpose ( chordString , steps ) { return chordString . replace ( / [A-F][#,\u266D]? / g , ( chord ) => { return transposeChord ( chord , steps ) ; } ) ; }
Extracts and replaces a transposed chord from a string ex.
Extracts and replaces a transposed chord from a string ex .