added a regex to get the length of the sustain in a pattern