Was missing passing in 4th param of container.

Line 387 was missing the 4th param, labelText = parsePattern(patternText, labelText, index, container);