Thread Zahlenvergleich (Reguläre Ausdrücke): if ($skalar =~ m/[13-52]/) {} ? (12 answers)
Opened by Gast at 2006-11-01 00:48

pq
 2006-11-01 11:08
#71275 #71275
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
[quote=Guest,31.10.2006, 23:48]Ich weiß dass ich das leicht mit if ($skalar > 52 or $skalar < 13) {} möglich ist, ich möchte das jedoch mit einem regulären Ausdruck lösen.[/quote]
warum?


[quote=googlegroups,1.11.2002, 16:51]Q: I want to talk to someone 3,000 miles away.  This is easy to do with
a telephone, but how is it done with a coffee mug?

A: It isn't done with a coffe mug, use the telephone.[/quote]
http://groups.google.com/groups?.....com%3E

hmm, der link funktioniert nicht mehr. offenbar kann man bei google-
groups nicht mehr ueber die message-id zugreifen.
naja, das musste ja irgendwann so kommen.\n\n

<!--EDIT|pq|1162373530-->
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: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread Zahlenvergleich (Reguläre Ausdrücke): if ($skalar =~ m/[13-52]/) {} ?