[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sc-devel] regexp support revisited :)




Am 26.11.2007 um 22:34 schrieb Jan Trutzschler:

ok, i checked it in ...
could someone please try to update recompile and see if this works:

"foobar".findRegexp("o*bar");

[ [ 1, oobar ] ]



"32424 334 /**aaaaaa*/".findRegexp("/\\*\\*a*\\*/");

[ [ 10, /**aaaaaa*/ ] ]



"foobar".findRegexp("(o*)(bar)");

[ [ 1, oobar ], [ 1, oo ], [ 3, bar ] ]



"aaaabaaa".findAllRegexp("a+");

[ [ [ 0, aaaa ], [ 5, aaa ] ], [ [ 1, aaa ], [ 5, aaa ] ], [ [ 2, aa ], [ 5, aaa ] ], [ [ 3, a ], [ 5, aaa ] ], [ [ 5, aaa ] ], [ [ 6, aa ] ], [ [ 7, a ] ] ]



Thanks!
Mac OS 10.5.1, PPC
Stephan




cheers,
Jan