Chas Owens wrote:
> On 5/16/07, Mathew <[EMAIL PROTECTED]> wrote:
> snip
>> What does gr() do?
>>
>> Mathew
>>
>
> qr not gr. It is the quote regex operator.
>
> from perldoc perlop
> qr/STRING/imosx
> This operator quotes (and possibly compiles) its STRING as a
>
Mathew 写道:
What does gr() do?
It's "qr" not "gr".
See "perldoc perlop" and look for "qr/STRING/imosx".
--
http://home.arcor.de/jeffpang/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On 5/16/07, Mathew <[EMAIL PROTECTED]> wrote:
snip
What does gr() do?
Mathew
qr not gr. It is the quote regex operator.
from perldoc perlop
qr/STRING/imosx
This operator quotes (and possibly compiles) its STRING as a
regular expression. STRING is interpola
Chas Owens wrote:
> On 5/16/07, Mathew Snyder <[EMAIL PROTECTED]> wrote:
>> I have a trouble ticket application that uses a regex to find a piece of
>> information in an incoming email and auto populate a field if it is
>> found. The
>> line it will be looking for is
>> CUSTOMER ENVIRONMENT cust
On 5/16/07, Mathew Snyder <[EMAIL PROTECTED]> wrote:
I have a trouble ticket application that uses a regex to find a piece of
information in an incoming email and auto populate a field if it is found. The
line it will be looking for is
CUSTOMER ENVIRONMENT customer_name
where customer_name will
I have a trouble ticket application that uses a regex to find a piece of
information in an incoming email and auto populate a field if it is found. The
line it will be looking for is
CUSTOMER ENVIRONMENT customer_name
where customer_name will never have a space making it one word. If I just want
Hmm, it looks like something was wrong with my mail server, so I'm
sending this question again - If you already got this, I apologize:
I'm have this program that reads over mail logs looking for spammers,
and depending on certain conditions, they're marked as a spammer. If
the reverse lookup
I'm have this program that reads over mail logs looking for spammers,
and depending on certain conditions, they're marked as a spammer. If
the reverse lookup on the relay used matches their email address
however, no matter what, we're not marking them as a spammer. However,
I've run across a
- Original Message -
From: Jack Lauman <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 11:48 PM
Subject: Another Regex Question
> I'm trying to create a CSV file from the text data below. Lines
> containing High and Low Tide data have
e
> {
> }
> else # Must be lunar
> {
> }
>
> And just a note, if you're just going to put the date and time fields back
> together, don't seperate them in your pattern match.
>
> ($date, $time, ... ) = ^(\d+-\d+-\d+)\s+(\d+:\d+)...$/
>
> - Origina
to put the date and time fields back
together, don't seperate them in your pattern match.
($date, $time, ... ) = ^(\d+-\d+-\d+)\s+(\d+:\d+)...$/
- Original Message -
From: "Jack Lauman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 20
I'm trying to create a CSV file from the text data below. Lines
containing High and Low Tide data have 9 fields, lines having
sunrise/sunset and lunar data have 8 fields.
How you differentiate between the two conditions?
2000-12-03 11:30 AM PST 9.39 feet High Tide
2000-12-03 4:15 PM PST S
12 matches
Mail list logo