Hi...
for mentors.debian.net I would like to find a perfect (TM) regular
expression to split the Version: line of a control file into:
- epoch
- upstream version
- Debian package revision
My current attempt is:
^(?:(\d+):)?(\d[\w\.\+-:]*?)(?:-(.+))?$
I have extracted the version of my
On Mit, 21 Jun 2006, Christoph Haas wrote:
^(?:(\d+):)?(\d[\w\.\+-:]*?)(?:-(.+))?$
What about ending with
(?:-([^-]+))?$
Best wishes
Norbert
---
Dr. Norbert Preining preining AT logic DOT at
On Wed, Jun 21, 2006 at 01:56:21PM +0200, Christoph Haas wrote:
for mentors.debian.net I would like to find a perfect (TM) regular
expression to split the Version: line of a control file into:
- epoch
- upstream version
- Debian package revision
My current attempt is:
Christoph Haas [EMAIL PROTECTED] writes:
So before diving into into regular expressions any further (I have no
practical experience with lookahead patterns for example) I would like
to know if anyone else has worked on this. Perhaps even some Debian tool
does this parsing. I need an
On Wed, Jun 21, 2006 at 09:15:41AM -0300, Otavio Salvador wrote:
Christoph Haas [EMAIL PROTECTED] writes:
So before diving into into regular expressions any further (I have no
practical experience with lookahead patterns for example) I would like
to know if anyone else has worked on this.
On Wed, Jun 21, 2006 at 01:56:21PM +0200, Christoph Haas wrote:
for mentors.debian.net I would like to find a perfect (TM) regular
expression to split the Version: line of a control file into:
- epoch
- upstream version
- Debian package revision
My current attempt is:
On Wed, Jun 21, 2006 at 03:04:54PM +0200, Christoph Haas wrote:
On Wed, Jun 21, 2006 at 09:15:41AM -0300, Otavio Salvador wrote:
Christoph Haas [EMAIL PROTECTED] writes:
So before diving into into regular expressions any further (I have no
practical experience with lookahead patterns
Christoph Haas [EMAIL PROTECTED] writes:
On Wed, Jun 21, 2006 at 09:15:41AM -0300, Otavio Salvador wrote:
Christoph Haas [EMAIL PROTECTED] writes:
So before diving into into regular expressions any further (I have no
practical experience with lookahead patterns for example) I would like
Christoph Haas [EMAIL PROTECTED] writes:
On Wed, Jun 21, 2006 at 03:04:54PM +0200, Christoph Haas wrote:
On Wed, Jun 21, 2006 at 09:15:41AM -0300, Otavio Salvador wrote:
Christoph Haas [EMAIL PROTECTED] writes:
So before diving into into regular expressions any further (I have no
9 matches
Mail list logo