Slow processing

"Robert Edgar" <[email protected]> Sat, 27 Apr 2002 14:34:08 +0800
Newsgroups gmane.comp.jakarta.oro.user
Message-ID <[email protected]>
Hi there,
I am trying to load and parse a web server log file (about 3mb on average)
with a regex as follows
"(.*)\\s(.*)\\s(.*)\\s\\[([^\\]]+)\\]\\s\"(.*)\\s(.*)\\s(.*)\"\\s(.*)\\s(.*)
\\s\"(.*)\"\\s\"(.*)\"\\s\"(.*)\""

problem is it is takeing forever, I am getting only about 15 lines a second

code is something like

while((logEntry = bufferedreader.readLine()) != null){
 if (matcher.contains(logEntry, pattern)) {
   MatchResult result=matcher.getMatch();
 }
}

note for this test I am doing nothing with the result just getting it and
still its painfully slow...

Any idea on how to improve this

Thanks
Rob