It seems undesirable to go from one to four separate copies of the note-handling code. Could we instead handle the different states of prefix, body and suffix parsing in local variables and just have one loop over the characters/notes in the input?

Jason

Reply via email to