[BUG] String>>findFirstInString:inSet:startingAt: does not work
if character of interest is last character in String,
also WideString
nicolas cellier
ncellier at ifrance.com
Tue May 9 18:32:30 UTC 2006
Le Mardi 09 Mai 2006 08:03, John M McIntosh a écrit :
> Mantis
> http://bugs.impara.de/view.php?id=3574
>
>...
>
> this example
>
> 'hi-' asWideString indexOfAnyOf: (CharacterSet newFrom: ' -0123456789
> {}')
>
> that fails and returns zero.
>
It is easy to make this example work (off by one error see patch on mantis),
but this method is really for ByteString !
I mean you cannot put a wide character in the CharacterSet..., then you cannot
search for wide characters...
Nicolas
More information about the Squeak-dev
mailing list
|