Originally Posted by bwalls
I have a function that changes the label on a set of labels with similar "for" fields. Somehow, the matching is only matching every other label.
I don't think you need the g
flag here and its use increments the lastIndex property of the regex.