Github user mosermw commented on the issue:
https://github.com/apache/nifi/pull/2767
@ottobackwards This post is old but I think still applies. In general,
most regular expression engines use recursion for some things.
https://stackoverflow.com/questions/7509905/java-lang-stackoverflowerror-while-using-a-regex-to-parse-big-strings---
