I agree its not ideal, but for some languages, JSP for instance, the words `SEGMENT` and `DIVIDER` are in separate spans.  It might be possible to come up with a more exact regex.  I'll try and post an example of the parsed JSP comment HTML today and we can discuss options.