I am trying to get all the columns selected within a SQL query (including the sub selects). When the code hits matcher.find(). i get the following exception:
Exception in thread "main" java.lang.Stack OverflowError
at java.util.regex .Pattern$Branch .match(Pattern. java:4530)
at java.util.regex .Pattern$GroupH ead.match(Patte rn.java:4570)
I am not sure where in the regex is causing the inifinite loop....