[Mono-devel-list] Regex: 'Split' function problem.
Francois Beauchemin
beauche at softhome.net
Fri Feb 20 13:45:58 EST 2004
- Previous message: [Mono-devel-list] Regex: 'Split' function problem.
- Next message: [Mono-devel-list] Re: [Mono-patches] libgdiplus/src brush.h,NONE,1.1 solidbrush.h,NONE,1.1 ChangeLog,1.5,1.6 gdip.h,1.4,1.5 brush.c,1.2,1.3 solidbrush.c,1.2,1.3 pen.c,1.1.1.1,1.2 stringformat.c,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Hi , here is a pach for bug 54537 and for 54242.
RegexOption.RightToLeft now works but It is not fully tested, but this
work for the attached test case .
However, the split method now work in reverse order, but the behaviour
is still a little bit different of .NET.
For now, split return in reverse order:
if the regex is "/" and the string is : "usr/local/bin" .
It will return with right to left ["bin","local","usr"] and .NET will
return ["usr","local","bin"]
Before aplying these patch, please do a "dos2unix -U *" in regex dirs.
>
> See this bug for more details :
> http://bugzilla.ximian.com/show_bug.cgi?id=54537
>
Francois
TIP-MONO Team ( a university project )
http://aeglos.dyndns.org/tip-mono
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 54537_test.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040220/44e8e8ef/attachment.pl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 54537.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040220/44e8e8ef/attachment-0001.pl
- Previous message: [Mono-devel-list] Regex: 'Split' function problem.
- Next message: [Mono-devel-list] Re: [Mono-patches] libgdiplus/src brush.h,NONE,1.1 solidbrush.h,NONE,1.1 ChangeLog,1.5,1.6 gdip.h,1.4,1.5 brush.c,1.2,1.3 solidbrush.c,1.2,1.3 pen.c,1.1.1.1,1.2 stringformat.c,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Mono-devel-list
mailing list