Thread regex problem (12 answers)
Opened by robiwan at 2009-05-28 14:35

Gast robiwan
 2009-05-28 14:35
#121982 #121982
Dear all,
Can anybody explain me the following expression:
Code (perl): (dl )
my $warning = $1 if ($opt_w =~ /([0-9]{1,2}|100)+/);


[0-9]{1,2} represent a two digit number, but what does the |100 match
And the + behind all that is also a miracle for me

Many thanks in advance...
Robert

View full thread regex problem