Re: Question about regex (nagios plugin)
- From: Ashish Kumar <xml.devel@xxxxxxxxx>
- Date: Thu, 2 Oct 2008 22:16:10 -0700 (PDT)
Instead, you should do something like (watch for word-wrap):
if ($get_cpu_util =~ m/^\s*(?:\d+\s+){12
(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s*(\d+)?\s*$/) {
I have got it now. I appreciate your time and efforts.
Thanks.
.
- References:
- Re: Question about regex (nagios plugin)
- From: Ashish Kumar
- Re: Question about regex (nagios plugin)
- From: Tim Greer
- Re: Question about regex (nagios plugin)
- Prev by Date: Re: Sybase::CTLib ct_connect problem
- Next by Date: FAQ 3.21 How can I compile my Perl program into byte code or C?
- Previous by thread: Re: Question about regex (nagios plugin)
- Next by thread: Date Conversion
- Index(es):