Re: [pcre-dev] [PATCH] Quash deprecation warnings on Windows

Góra strony
Delete this message
Autor: Daniel Richard G
Data:  
Dla: Zoltán Herczeg
CC: pcre-dev
Temat: Re: [pcre-dev] [PATCH] Quash deprecation warnings on Windows
On Wed, 12 Dec 2012, Zoltán Herczeg wrote:

> Hi,
>
> am I understand correctly that no JIT is involved here?


You tell me :-) I certainly built PCRE with JIT support...

> The output stops after:
>
> ~<(\w+)/?>(.)*</(\1)>~smgI
>
> The test itself requires a huge stack. (Did you enlarge the stack area
> for pcretest?)


I linked it with /STACK:10000000; should that be enough? I don't know that
there's anything else I can do to increase the available stack space.

> Could you try this test manually:
> pcretest.exe -q mytest
>
> The mytest should only contain this particular test (line 1426 and 1427
> from testinput2).


I'm noticing an odd behavior here. If I run that test, and let it print to
the terminal, I get

     ~<(\w+)/?>(.)*</(\1)>~smgI
     Capturing subpattern count = 3
     Max back reference = 1
     Options: multiline dotall
     First char = '<'
     Need char = '>'
         \J1024<!DOCTYPE seite SYSTEM "http://www.lco...


But if I redirect the output to a file, or even just pipe it into "cat",
all I get is the first line. Both behaviors occur consistently.

Is there something I'm not aware of about pcretest, or might something
else be going on here?


--Daniel


--
Daniel Richard G. || danielg@??? || Software Developer
Teragram Linguistic Technologies (a division of SAS)
http://www.teragram.com/