Re: How to make part of regex optional.

2008-09-24 Thread Mr. Shawn H. Corey
On Wed, 2008-09-24 at 18:32 +0200, Rob Coops wrote: > Hi all, > > I am having some trouble matching the following string: > > "Some text+...:...:...:...:...+some more text" > > The trick is there are two dilimiters in this string the + and the : are > used to separate the string, the + signifies

Re: How to make part of regex optional.

2008-09-24 Thread John W. Krahn
Rob Coops wrote: Hi all, Hello, I am having some trouble matching the following string: "Some text+...:...:...:...:...+some more text" The trick is there are two dilimiters in this string the + and the : are used to separate the string, the + signifies a part of the string ended and the : s

How to make part of regex optional.

2008-09-24 Thread Rob Coops
Hi all, I am having some trouble matching the following string: "Some text+...:...:...:...:...+some more text" The trick is there are two dilimiters in this string the + and the : are used to separate the string, the + signifies a part of the string ended and the : signifies a sub part of the st