my $warning = $1 if ($opt_w =~ /([0-9]{1,2}|100)+/);
2009-05-28T12:41:12 pqand since you seem to be located in germany, you might want to write in german (if possible)?
1
2
3
4
5
"(...)" write the inherit match in $1
"[0-9]{1,2}" find a number between 0 and 99
"|" or
"100" find 100
"+" find the last elemet once or often (the last element is here "(...)") (thats useless here, i guess)
Guest robiwanEs sieht so aus, als ob bei geradzahligen Nummern (1234) die letzten beiden Zahlen matchen und bei ungeradzahligen Nummern (12345) die letzte Zahl matcht.