Certain forms of comments trigger an infinite recursion within the java regex pattern match algorithm.
This could be potentially fixed through a reformat of the regex pattern, a different regex library which does not rely on recursion so heavily, or potentially a way to detect and collect these structures if they are found to have a common pattern.