Alan & Martin,
Thanks for the feedback and suggestions. Kodos is a great tool. I use it
regularly to debug my regex mistakes. It can also be a excellent learning
tool to those unfamiliar with regular expressions. Thanks for the
Python-LDAP link and ldif example code.
On 5/20/07, Martin Wals
Hi Tom,
Tom Tucker wrote:
> Why the cStringIO stuff? The input data shown below is collected from
> os.popen. I was trying to find an easy way of matching my regex.
Ah, ldap...
> Matching with a string seemed easier than looping through the ouput
> collected. Hmm. Come to think of it, I gu
"Tom Tucker" <[EMAIL PROTECTED]> wrote
> The below code snipet works as designed, however the regex matches
> once and
> exits. I want it to continue matching and printing until EOF. Any
> suggestions?
Does re.findall() help?
Alan G.
___
Tutor m
Disregard! Looks like part of my problem is the regex string.
On 5/18/07, Tom Tucker <[EMAIL PROTECTED]> wrote:
Please forgive the colors, just trying to help illustrate my question.
The below code snipet works as designed, however the regex matches once
and exits. I want it to continue match
Please forgive the colors, just trying to help illustrate my question.
The below code snipet works as designed, however the regex matches once and
exits. I want it to continue matching and printing until EOF. Any
suggestions?
Why the cStringIO stuff? The input data shown below is collected fr