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>             Università di Siena
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
HAMBLEDON (n.)
The sound of a single-engine aircraft flying by, heard whilst lying in
a summer field in England, which somehow concentrates the silence and
sense of space and timelessness and leaves one with a profound feeling
of something or other.
                        --- Douglas Adams, The Meaning of Liff


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to