Timothy Johnson wrote:
John W. Krahn wrote:
[ message rearranged in chronological order. Please do not top-post ]
No. If I'm responding to a message in this format, I'll use this format, but there's nothing illegitimate about top-posting. It is the email format that
John W. Krahn wrote:
> [ message rearranged in chronological order. Please do not top-post ]
No. If I'm responding to a message in this format, I'll use this format, but
there's nothing illegitimate about top-posting. It is the email format that
most of the world follows, using Outlook or Ou
[ message rearranged in chronological order. Please do not top-post ]
Timothy Johnson wrote:
>> From: Keenan, Greg John (Greg)** CTR ** [mailto:[EMAIL PROTECTED]
>>
>>
>>
>> my @oput2 = /\b([0-9]+)%/;
>>
>>
>
> Just for starters, a regular expression should use the =~ operator, not
> th
Keenan, Greg John (Greg)** CTR ** wrote:
> Hi,
Hello,
> Need some help with a regex please.
>
> I need to search a file for every instance of a string that ends with %.
> Think output from the df command. I need the 1, 2 or 3 digits before the %
> passed into the array.
>
> Code:
> #!/usr/bin/
Just for starters, a regular expression should use the =~ operator, not
the = operator.
You might have seen some examples like this:
while(){
if($_ =~ /mybigregularexpression/){
Do something...
}
}
Check out 'perldoc perlre'.
-Original Message-
From: Keenan, Greg John (Gr