[pcre-dev] Backreference Question

Αρχική Σελίδα
Delete this message
Συντάκτης: Ralf Junker
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: [pcre-dev] Backreference Question
Given this pcretest syntax:

/\w+(?<!\z)/g
    abcde
    one two three


The very last character of a subject never matches. I was expecting that it would: The assertion at the end of the subject should find that the last character is not the end of the subject.

Is the observed behaviour is correct (7.0 as well as 7.1 RC 3)?

Ralf