Thread Schnell mal ein Muster gesucht (4 answers)
Opened by protag at 2010-10-18 13:49

MatthiasW
 2010-10-18 13:53
#142014 #142014
User since
2008-01-27
367 Artikel
BenutzerIn
[default_avatar]
Du prüfst einfach beide Bedingungen:
Code (perl): (dl )
1
2
3
if ( $line =~ /name/i and $line !~ /:/ ) {
    ...
}

Oder soll das in einen regulären Ausdruck?

MfG
perl -E'*==*",s;;%ENV=~m,..$,,$&+42;e,$==f;$"++for+ab..an;@"=qw,u t,,print+chr;sub f{split}say"@{=} me"'

View full thread Schnell mal ein Muster gesucht