[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kleines RegEx Problem



Moin,

* Andreas Pakulat wrote (2006-05-24 03:06):
>Das Problem dabei: Bei foobar_version.orig.tar.gz erhalte ich fuer
>
>\1 = foobar
>\2 = version.orig
>\3 = tar.gz

Du willst aber
\1  foobar
\2  version
\3  orig.tar.gz
Richtig?

Das klingt nach non-greedy quantifier, kennt Python die nicht?


Thorsten
-- 
To announce that there must be no criticism of the president, or that we are
to stand by the president, right or wrong, is not only unpatriotic and servile,
but is morally treasonable to the American public.
    - Theodore Roosevelt

Attachment: pgpMlI_UBtAWe.pgp
Description: PGP signature


Reply to: