[pcre-dev] PCRE2 POSIX newline matching

Kezdőlap
Üzenet törlése
Szerző: Ralf Junker
Dátum:  
Címzett: pcre-dev@exim.org
Tárgy: [pcre-dev] PCRE2 POSIX newline matching
Built from PCRE2 SVN 362, my pcretest matches the following input:

#forbid_utf
#pattern posix

/abc.def/
     abc\ndef
  0: abc\x0adef


In the pcre2posix.html#SEC4 documentation I read that POSIX /./ matches
newline. Hence I expect the above to match.

However, according to testoutput18, the match should fail (line 61-65):

/abc.def/
     *** Failers
No match: POSIX code 17: match failed
     abc\ndef
No match: POSIX code 17: match failed


Which is correct ? Or could my pcretest be faulty?

Ralf