russ-p / veloeclipse

Automatically exported from code.google.com/p/veloeclipse
Other
0 stars 0 forks source link

Eclipse hangs because of complicated regular expression for ConsolePatternMatcher #32

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
* See https://bugs.eclipse.org/bugs/show_bug.cgi?id=175888 for attachment, if 
veloeclipse is installed and some application prints out large text it may hang 
Eclipse. 

This happens while matching the regular expression 
"\S+\.(vm|vsl|vtl|html|xml)\[.+,.+\]" which is used in class 
"PatternMatchListener". The regular expression is so complex that the matching 
never finishes when large text is displayed in the Console window.

What is the expected output? What do you see instead?
* No Eclipse hang

What version of the product are you using? On what operating system?
* Eclipse 3.6, veloeclipse 2.0.8

Original issue reported on code.google.com by Dominik....@gmail.com on 22 Sep 2010 at 1:03

GoogleCodeExporter commented 8 years ago
Yes, I tested it and eclipse hangs on this one too.

(\d+.\d+.\d+.\d+) \[(\d{2}/(.)*/\d{4}:\d{2}:\d{2}:\d{2}) -(\d+)] /| (\w|.)+ \|
 Eclipse 3.6 with RegEx Tester.

Original comment by indu...@gmail.com on 9 Mar 2011 at 7:49

GoogleCodeExporter commented 8 years ago
Hmm, I'm using 3.7 and it seems to work, maybe they fixed the regex 
functionality.

Original comment by byron.foster@gmail.com on 29 Feb 2012 at 10:42