steph_bow has asked for the wisdom of the Perl Monks concerning the following question:
Hello Dear Monks
I have a problem concerning paranthesis
I would like to detect the following expression, such as
or(23
(135
So I have used :
# use strict; ... if (($Delay_id =~ /\(\d\d/) || ($Delay_id =~ /\(\d\d\d/)){ ... }
But I have messages of error, such as :
Use of uninitialized value in concatenation (.) or string at
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: parenthesis regex
by dreadpiratepeter (Priest) on Jun 25, 2008 at 16:51 UTC | |
by steph_bow (Pilgrim) on Jun 26, 2008 at 08:43 UTC | |
|
Re: parenthesis regex
by moritz (Cardinal) on Jun 25, 2008 at 16:54 UTC | |
|
Re: parenthesis regex
by ikegami (Patriarch) on Jun 25, 2008 at 17:31 UTC | |
|
Re: parenthesis regex
by apl (Monsignor) on Jun 25, 2008 at 16:52 UTC | |
by moritz (Cardinal) on Jun 25, 2008 at 17:00 UTC |