Re: String Manipulation Help!

2006-01-28 Thread Paul McGuire
"Richard Schneiderman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I really enjoyed your article. I will try to understand this. > Will you be doing more of this in the future with more complicated examples? > I'm giving two presentations at PyCon at the end of February, so I thin

Re: String Manipulation Help!

2006-01-28 Thread Richard Schneiderman
I really enjoyed your article. I will try to understand this. Will you be doing more of this in the future with more complicated examples? Paul McGuire wrote: > "Dave" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> OK, I'm stumped. >> >> I'm trying to find newline characters (

Re: String Manipulation Help!

2006-01-28 Thread Paul McGuire
"Dave" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > OK, I'm stumped. > > I'm trying to find newline characters (\n, specifically) that are NOT > in comments. > > So, for example (where "<-" = a newline character): > == > 1: <- > 2: /*<- > 3:

Re: String Manipulation Help!

2006-01-28 Thread Dave
This is great, thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: String Manipulation Help!

2006-01-28 Thread Kirk McDonald
Dave wrote: > OK, I'm stumped. > > I'm trying to find newline characters (\n, specifically) that are NOT > in comments. > > So, for example (where "<-" = a newline character): > == > 1: <- > 2: /*<- > 3: --<- > 4: comment<- > 5: