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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26885

Response assertin and regular expressions





------- Additional Comments From [EMAIL PROTECTED]  2004-02-13 07:12 -------
I debugged this problem more deeply and it looks like Perl5Compiler problem. If 
you look at the JMeter1.9.1 code (line 305). I added there MULTILINE_MASK like 
this (because there was not one).

            Pattern pattern =
               patternCache.getPattern(
               stringPattern,
                 Perl5Compiler.MULTILINE_MASK|Perl5Compiler.READ_ONLY_MASK);

Then I compiled and tried it with a following rexexp:
<html>(.|\n)</html>

The result is that contains(..)-function prints java.lang.StackoverflowError. 
I'm quite poor with regular expressions but I don't think that my example 
causes infinite loop. I also find discussion about this same problem. Here is 
link to it.

http://www.mail-archive.com/[EMAIL PROTECTED]/msg00356.html

Btw. What did you mean with adding (?s) to the start of the line?

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

Reply via email to