String>>withoutTrailingDigits

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

String>>withoutTrailingDigits

Davide Varvello
Hi folks,

Today I stumbled on a strange behavior, the message withoutTrailingDigits not only removes trailing digit but also removes the leading ones.

If you evaluate this:
'Whoo123pie234' withoutTrailingDigits
or this:
'123Whoopie' withoutTrailingDigits
you can see the problem.

I've just submitted a bug here: http://code.google.com/p/pharo/issues/detail?id=7272