DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35834>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35834


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |DUPLICATE




------- Additional Comments From [EMAIL PROTECTED]  2005-08-17 02:41 -------
This simple program (adapted from what you have sent) shows what is really
happening:

import org.apache.regexp.CharacterIterator;
import org.apache.regexp.RE;
import org.apache.regexp.ReaderCharacterIterator;

import java.io.FileReader;
import java.io.IOException;

public class Test {
    public static void main(String[] args) throws IOException {
        RE re = new RE("(<A(.)*>)|(<APPLET(.)*>)|(<AREA(.)*>)",
                       RE.MATCH_CASEINDEPENDENT | RE.MATCH_SINGLELINE);
        CharacterIterator in = new ReaderCharacterIterator(new
FileReader("index.html"));
        int end = 0;
        try {
            while (re.match(in, end)) {
                System.out.println("Matched " + re.getParen(0));
                end = re.getParenEnd(0);
            }
            System.out.println("Done");
        } catch (Throwable e) {
            System.out.println("Exception " + e);
        }
    }
}

If you run it with the input file 'index.html' in the same directory, you'd see:

  Exception java.lang.StackOverflowError

It is duplicate of bug #764. If you have ideas how to fix it please comment in
bug #764.

*** This bug has been marked as a duplicate of 764 ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to