Re: [pcre-dev] Matching file contents as one string using PCRE_DOTALL

2013-05-08 Thread Zoltán Herczeg
Hi, dot (.) is the inverse of \R. If you need to match everything, use [\x00-\xff] or (.|\R) or \p{Any} (the latter only if unicode is enabled). I would choose the first for ascii, and the third for unicode matches. Regards, Zoltan pcun...@fsmail.net írta: I have read the entire PCRE

Re: [pcre-dev] Matching file contents as one string using PCRE_DOTALL

2013-05-08 Thread pcunite
Zoltán Herczeg dot (.) is the inverse of \R. If you need to match everything, use [\x00-\xff] or (.|\R) or \p{Any} (the latter only if Unicode is enabled). I would choose the first for ascii, and the third for Unicode matches. Thank you for helping. However, when a file only contains a