[minor] Remove comment about 'g' flag (no longer applies)

Example was switched to matchAll and 'g' was removed but the comment got left in.