Thread
regular expressions
(9 answers)
Opened by
paidopoieo
at
2006-01-03 02:41
pq
2006-01-03 11:35
User since
2003-08-04
12208 Artikel
Admin1
Code: (
dl
)
1
2
3
for ($string) {
print "yes" if tr/k// >= 2 and tr/r// >= 2 and tr/w// >= 2;
}
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen:
Wie frage ich
&
perlintro
brian's Leitfaden für jedes Perl-Problem
View full thread
regular expressions