pattern match !

Steven D'Aprano steven at
Wed Jul 11 07:42:51 CEST 2007

On Wed, 11 Jul 2007 03:40:06 +0000, hari.siri74 wrote:

> Extract the application name with version from an RPM string like
> hpsmh-, i require to extract hpsmh-
> from above string. Sometimes the RPM string may be hpsmh-
> Linux.RPM.

Thank you for sharing.

The answer to your problem is here:


More information about the Python-list mailing list