Re: [pcre-dev] SUB symbol inside MARK verb

トップ ページ
このメッセージを削除
著者: Graycode
日付:  
To: Pcre-dev
題目: Re: [pcre-dev] SUB symbol inside MARK verb
On Sat, 13 Apr 2013, ND wrote:

> Thanks a lot for explanation. I was not know that in pcretest.exe pattern
> must use escape sequences instead of control symbols. And now can't find
> in docs about this (only about data lines).


You're welcome. Just in case it does get documented, I should clarify
that it's more a function of the C runtime library being used rather
than somthing unique in Windows OS.

It's just that Windows builders often use Microsoft's compilers and
thus Microsoft's runtime C libraries. There may be other compilers
for Windows whose C library for fgets() does not halt when it spots
a ASCII 26 char.

Also pcretest looks for #define options SUPPORT_LIBREADLINE and
SUPPORT_LIBEDIT, in which case it may use readline() vs. fgets().
I have no clue whether readline() would also massage input data,
perhaps it too varies among C runtime library implementations.


Regards,
Graycode