En Tue, 10 Apr 2007 08:12:53 -0300, Michael Yanowitz
<[EMAIL PROTECTED]> escribió:
> I guess what I was looking for was something simpler than parsing.
> I may actually use some of what you posted. But I am hoping that
> if given a string such as:
> '((($IP = "127.1.2.3") AND ($AX < 15)) OR (($I
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
Of Adam Atlas
Sent: Monday, April 09, 2007 11:28 PM
To: python-list@python.org
Subject: Re: Breaking up Strings correctly:
On Apr 9, 8:19 am, "Michael Yanowitz" <[EMAIL PROTECTED]> wrote:
> H
On Apr 9, 8:19 am, "Michael Yanowitz" <[EMAIL PROTECTED]> wrote:
> Hello:
>
>I have been searching for an easy solution, and hopefully one
> has already been written, so I don't want to reinvent the wheel:
Pyparsing is indeed a fine package, but if Paul gets to plug his
module, then so do I! :
En Mon, 09 Apr 2007 12:39:44 -0300, Paul McGuire <[EMAIL PROTECTED]>
escribió:
> On Apr 9, 7:19 am, "Michael Yanowitz" <[EMAIL PROTECTED]> wrote:
>>
>>Suppose I have a string of expressions such as:
>> "((($IP = "127.1.2.3") AND ($AX < 15)) OR (($IP = "127.1.2.4") AND ($AY
>> !=
>> 0)))
>>
On Apr 9, 1:19 pm, "Michael Yanowitz" <[EMAIL PROTECTED]> wrote:
> Hello:
>
>I have been searching for an easy solution, and hopefully one
> has already been written, so I don't want to reinvent the wheel:
>
>Suppose I have a string of expressions such as:
> "((($IP = "127.1.2.3") AND ($AX
On Apr 9, 7:19 am, "Michael Yanowitz" <[EMAIL PROTECTED]> wrote:
> Hello:
>
>I have been searching for an easy solution, and hopefully one
> has already been written, so I don't want to reinvent the wheel:
>
>Suppose I have a string of expressions such as:
> "((($IP = "127.1.2.3") AND ($AX