greedy, and you get the
> behaviour you need.
>
> This is covered in the documentation for the re
> module.http://docs.python.org/lib/module-re.html
>
> Jason
>
> On Sep 17, 9:00 am, duikboot <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I am trying t
Hello,
I am trying to extract a list of strings from a text. I am looking it
for hours now, googling didn't help either.
Could you please help me?
>>>s = """
>>>\n\n28996\n\n\n28997\n"""
>>> regex = re.compile(r'', re.S)
>>> L = regex.findall(s)
>>> print L
['organisatie>\n28996\n
\n\n28997\n\n2
http://apipes.blogspot.com/2005/01/choose-python.html
I have printed on my office wall too.
Duikboot
Diez B. Roggisch wrote:
> Hi,
>
> a year or two ago, somebody posted a link to an image he created. It was
> basically a remake of the famous trainspotting-poster that begins all