I wrote a program that needs to parse one line of text that contains several thousands of characters. I have some delimiters in the file that I use to split the String.
Now I have the following problem: When i call scanner.match().start(), the starting index is correctly returned when the index is smaller than +/- 1000. Then it looks like the internal counter is reset to 0. I have a list of matches like this : 232, 389, 608, 804, 54, ...
the last 54 should be a number > 1000.
I googled this problem but without success. Does anyone of you know if there are any known issues with very large strings when using Scanner?
thanks in advance, Bram. [ March 17, 2008: Message edited by: Bram Maes ]