Ssamuel, I tryed your regex, but it seems that nothing happens,
MatchCollection is empy, Groups count is one.
Any suggestion?
Regards
> Saso,
>
[quoted text clipped - 15 lines]
> > Regards
> > Saso
ssamuel - 26 Oct 2006 18:21 GMT
Saso,
The Match interface is obfuscated. Try:
Regex re = new Regex(@"\<(.*)\:\:(.*)\[(.*)\]\>");
string[] list = re.Split("<wordX::wordY[wordZ]>");
The first match is nothing, but 2, 3, and 4 (index 1, 2, and 3) are
your results.
Stephan
> Ssamuel, I tryed your regex, but it seems that nothing happens,
> MatchCollection is empy, Groups count is one.
[quoted text clipped - 22 lines]
> > > Regards
> > > Saso
Ssamule, I just solved the problem, I mixed up the parameters of Regex.Match
method :). It happens.
Thank you.
Saso
> Saso,
>
[quoted text clipped - 15 lines]
> > Regards
> > Saso