BTW commenting the use strict; line is about the silliest thing you can do, it installs delayed bugs in your script (badly paraphrasing TimToady).
This doesn't warn:
#!/usr/bin/perl use strict; use warnings; my $Delay_id = '(23'; if (($Delay_id =~ /\(\d\d/) || ($Delay_id =~ /\(\d\d\d/)){ print "Matched\n"; }
In reply to Re: parenthesis regex
by moritz
in thread parenthesis regex
by steph_bow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |