Regexp search produces stack overflow when matching content of the file. Why ?

Answered

I'm using Intellij to search accross Pro*C files that contains SQL statement.

In short Pro*c is a flavor of C that contains SQL statement in the form EXEC SQL ... ;

The search tool of Intellij let me find INSERT statement for a given table, but for one of my file I get a strange alert popup and this line in the log:

2018-04-12 10:51:47,817 [778584131] INFO - llij.find.impl.FindManagerImpl - EXEC(\s|\n)*SQL(\s|\n)*INSERT(\s|\n)*INTO(\s|\n)*(\b.\b)(\s|\n|[^;])*; produced stack overflow when matching content of the file

 

I can't paste the content of the file here, but I would like to know if there is a known issue about regex that cause this problem. 

0
1 comment

Hello,

Is it possible to report issue on YouTrack: http://youtrack.jetbrains.com/issues/IDEA attaching file and logs? You could set visibility level to "jetbrains-team" only.

 

0

Please sign in to leave a comment.