tag:blogger.com,1999:blog-6799088.post114796988457715899..comments2024-03-28T07:20:33.424+00:00Comments on Instant Badger: java.lang.StackOverflowError with RegEx backreferencesAlistair Davidsonhttp://www.blogger.com/profile/07415960315873865766noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6799088.post-55714617685143118762008-04-22T16:23:00.000+01:002008-04-22T16:23:00.000+01:00I know this is a couple years old, but thanks for ...I know this is a couple years old, but thanks for leaving this up. I have a completely different regex expression, but the concept is similar. This should fix it. Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6799088.post-1148027363698030152006-05-19T09:29:00.000+01:002006-05-19T09:29:00.000+01:00rob : zactly! See second-to-last paragraph.rob : zactly! See second-to-last paragraph.Alistair Davidsonhttps://www.blogger.com/profile/07415960315873865766noreply@blogger.comtag:blogger.com,1999:blog-6799088.post-1147977720080165612006-05-18T19:42:00.000+01:002006-05-18T19:42:00.000+01:00Since you're not using the capture, why capture it...Since you're not using the capture, why capture it at all?<BR/><BR/>">(?:[[:space:]]{1,})<"<BR/><BR/>Or even<BR/><BR/>">\s+<"<BR/><BR/>Either of those should provide the same result (untested, of course) without any capturing...Anonymousnoreply@blogger.com