See perlre for details on the look-ahead group
In reply to Re^2: Match with line without a word by moritz in thread Match with line without a word by Heaven