Re: [pcre-dev] \D does not work on windows?

Inizio della pagina
Delete this message
Autore: Christian Ehrlicher
Data:  
To: pcre-dev
Oggetto: Re: [pcre-dev] \D does not work on windows?
Christian Ehrlicher schrieb:
> Philip Hazel schrieb:
>> On Wed, 15 Oct 2008, Christian Ehrlicher wrote:
>>
>>> PCRE version 7.8 2008-09-05
>>>
>>>   re> /\D/
>>> ------------------------------------------------------------------
>>>   0   5 Bra
>>>   3     D
>>>   5   5 Ket
>>>   8     End
>>> ------------------------------------------------------------------

>>
>> OK, that's definitely wrong. It has somehow lost the \ but why?? It
>> should show this:
>>
>> ------------------------------------------------------------------
>>   0   4 Bra
>>   3     \D
>>   4   4 Ket
>>   7     End
>> ------------------------------------------------------------------

>>
>>> I somehow miss the '\' ...
>>
>> Indeed.
>>
>>> I do not use readline. It's compiled with msvc8 and plain mingw (no msys
>>> anywhere)
>>
>> OK, just for fun, why not try /\\D/ just to see what it says. (I am of
>> course, just guessing here.) Another thing to try might be to put /\D/
>> into a file and run "pcretest -d <filename>" to see if it is different
>> when reading from a file.
>>
> pcre_compile() gets \D (two chars). Reading from file doesn't help either.
>
>

ok, stupid me.

Don't know why but my build scripts added -DPCRE_EBCDIC:BOOL=ON ...



Sorry for the noise,
Christian