Leser: 1
3 Einträge, 1 Seite |
if ( $line =~ /dashier/ and $line !~ /dasnicht/ ) { ....
1
2
(?!pattern)
A zero-width negative look-ahead assertion. For example /foo(?!bar)/ matches any occurrence of ``foo'' that isn't followed by ``bar''. Note however that look-ahead and look-behind are NOT the same thing. You cannot use this for look-behind.
3 Einträge, 1 Seite |