Might have been batter to just name this var partialRegex since it will retain the partialStart/End until it is trimmed off on line 124.